pub enum PermissionTier {
Transparent = 0,
Standard = 1,
Sensitive = 2,
Restricted = 3,
}Variants§
Transparent = 0
Auto-granted at install time with no user prompt.
Standard = 1
Shown once at install time; user approves/denies.
Sensitive = 2
Shown at install + confirmation on first actual use.
Restricted = 3
Disabled by default; user must manually enable in Plugin Manager.
Trait Implementations§
Source§impl Clone for PermissionTier
impl Clone for PermissionTier
Source§fn clone(&self) -> PermissionTier
fn clone(&self) -> PermissionTier
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 moreSource§impl Debug for PermissionTier
impl Debug for PermissionTier
Source§impl Ord for PermissionTier
impl Ord for PermissionTier
Source§fn cmp(&self, other: &PermissionTier) -> Ordering
fn cmp(&self, other: &PermissionTier) -> 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 PermissionTier
impl PartialEq for PermissionTier
Source§fn eq(&self, other: &PermissionTier) -> bool
fn eq(&self, other: &PermissionTier) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PermissionTier
impl PartialOrd for PermissionTier
impl Eq for PermissionTier
impl StructuralPartialEq for PermissionTier
Auto Trait Implementations§
impl Freeze for PermissionTier
impl RefUnwindSafe for PermissionTier
impl Send for PermissionTier
impl Sync for PermissionTier
impl Unpin for PermissionTier
impl UnsafeUnpin for PermissionTier
impl UnwindSafe for PermissionTier
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