pub struct BrowserProfileAccess {
pub roleId: i64,
pub usage: i8,
pub view: i8,
pub update: i8,
pub share: i8,
pub delete: i8,
pub transfer: Option<i8>,
}Expand description
Represents access control permissions for a browser profile associated with a role.
This struct maps directly to the database table structure, where boolean permissions are stored as i8 values (MySQL’s way of storing booleans).
Fields§
§roleId: i64The ID of the role these permissions are associated with
usage: i8Permission to use/execute the browser profile (1 = allowed, 0 = denied)
view: i8Permission to view the browser profile details (1 = allowed, 0 = denied)
update: i8Permission to modify the browser profile (1 = allowed, 0 = denied)
Permission to share the browser profile with others (1 = allowed, 0 = denied)
delete: i8Permission to delete the browser profile (1 = allowed, 0 = denied)
transfer: Option<i8>Optional permission to transfer ownership of the browser profile (1 = allowed, 0 = denied, None = not applicable)
Trait Implementations§
source§impl Debug for BrowserProfileAccess
impl Debug for BrowserProfileAccess
source§impl Default for BrowserProfileAccess
impl Default for BrowserProfileAccess
source§fn default() -> BrowserProfileAccess
fn default() -> BrowserProfileAccess
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BrowserProfileAccess
impl RefUnwindSafe for BrowserProfileAccess
impl Send for BrowserProfileAccess
impl Sync for BrowserProfileAccess
impl Unpin for BrowserProfileAccess
impl UnwindSafe for BrowserProfileAccess
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.
§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.