#[repr(u8)]pub enum PermissionType {
Public = 0,
Symmetric = 1,
PublicSymmetric = 2,
Unencrypted = 3,
External = 4,
OwnerList = 5,
}Variants§
Trait Implementations§
Source§impl Clone for PermissionType
impl Clone for PermissionType
Source§fn clone(&self) -> PermissionType
fn clone(&self) -> PermissionType
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 PermissionType
impl Debug for PermissionType
Source§impl From<PermissionType> for u8
impl From<PermissionType> for u8
Source§fn from(enum_value: PermissionType) -> Self
fn from(enum_value: PermissionType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PermissionType
impl PartialEq for PermissionType
Source§impl TryFrom<u8> for PermissionType
impl TryFrom<u8> for PermissionType
Source§type Error = TryFromPrimitiveError<PermissionType>
type Error = TryFromPrimitiveError<PermissionType>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for PermissionType
impl TryFromPrimitive for PermissionType
const NAME: &'static str = "PermissionType"
type Primitive = u8
type Error = TryFromPrimitiveError<PermissionType>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl StructuralPartialEq for PermissionType
Auto Trait Implementations§
impl Freeze for PermissionType
impl RefUnwindSafe for PermissionType
impl Send for PermissionType
impl Sync for PermissionType
impl Unpin for PermissionType
impl UnwindSafe for PermissionType
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