pub enum PermissionType {
Allow,
Deny,
}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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PermissionType
Source§impl Debug for PermissionType
impl Debug for PermissionType
impl Eq for PermissionType
Source§impl Hash for PermissionType
impl Hash for PermissionType
Source§impl Ord for PermissionType
impl Ord for PermissionType
Source§fn cmp(&self, other: &PermissionType) -> Ordering
fn cmp(&self, other: &PermissionType) -> Ordering
1.21.0 (const: unstable) · 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 PermissionType
impl PartialEq for PermissionType
Source§fn eq(&self, other: &PermissionType) -> bool
fn eq(&self, other: &PermissionType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PermissionType
impl PartialOrd for PermissionType
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 UnsafeUnpin for PermissionType
impl UnwindSafe for PermissionType
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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