Struct safe_core::ffi::ipc::req::PermissionSet
[−]
[src]
#[repr(C)]pub struct PermissionSet { pub read: bool, pub insert: bool, pub update: bool, pub delete: bool, pub manage_permissions: bool, }
Represents a requested set of changes to the permissions of a mutable data.
Fields
read: bool
How to modify the read permission.
insert: bool
How to modify the insert permission.
update: bool
How to modify the update permission.
delete: bool
How to modify the delete permission.
manage_permissions: bool
How to modify the manage permissions permission.
Trait Implementations
impl Copy for PermissionSet
[src]
impl Clone for PermissionSet
[src]
fn clone(&self) -> PermissionSet
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for PermissionSet
[src]
fn default() -> PermissionSet
[src]
Returns the "default value" for a type. Read more
impl Debug for PermissionSet
[src]
impl Eq for PermissionSet
[src]
impl Ord for PermissionSet
[src]
fn cmp(&self, __arg_0: &PermissionSet) -> Ordering
[src]
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
[src]
ord_max_min
)Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
[src]
ord_max_min
)Compares and returns the minimum of two values. Read more
impl PartialEq for PermissionSet
[src]
fn eq(&self, __arg_0: &PermissionSet) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PermissionSet) -> bool
[src]
This method tests for !=
.
impl PartialOrd for PermissionSet
[src]
fn partial_cmp(&self, __arg_0: &PermissionSet) -> Option<Ordering>
[src]
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, __arg_0: &PermissionSet) -> bool
[src]
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, __arg_0: &PermissionSet) -> bool
[src]
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, __arg_0: &PermissionSet) -> bool
[src]
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, __arg_0: &PermissionSet) -> bool
[src]
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more