pub enum PermissionLevel {
Allowed,
EncryptionRequired,
AuthenticationRequired,
NotAllowed,
}Expand description
Attribute permissions
Variants§
Allowed
Operation is allowed with no encryption or authentication
EncryptionRequired
Encryption is required
AuthenticationRequired
Encryption and authentication are required
NotAllowed
Operation is not allowed
Trait Implementations§
Source§impl Clone for PermissionLevel
impl Clone for PermissionLevel
Source§fn clone(&self) -> PermissionLevel
fn clone(&self) -> PermissionLevel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PermissionLevel
impl Debug for PermissionLevel
Source§impl Default for PermissionLevel
impl Default for PermissionLevel
Source§fn default() -> PermissionLevel
fn default() -> PermissionLevel
Returns the “default value” for a type. Read more
Source§impl Format for PermissionLevel
impl Format for PermissionLevel
Source§impl Ord for PermissionLevel
impl Ord for PermissionLevel
Source§fn cmp(&self, other: &PermissionLevel) -> Ordering
fn cmp(&self, other: &PermissionLevel) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PermissionLevel
impl PartialEq for PermissionLevel
Source§impl PartialOrd for PermissionLevel
impl PartialOrd for PermissionLevel
impl Copy for PermissionLevel
impl Eq for PermissionLevel
impl StructuralPartialEq for PermissionLevel
Auto Trait Implementations§
impl Freeze for PermissionLevel
impl RefUnwindSafe for PermissionLevel
impl Send for PermissionLevel
impl Sync for PermissionLevel
impl Unpin for PermissionLevel
impl UnwindSafe for PermissionLevel
Blanket Implementations§
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