pub enum PermissionScope {
Own,
Team,
Global,
}Expand description
Permission scope for memory access.
Variants§
Trait Implementations§
Source§impl Clone for PermissionScope
impl Clone for PermissionScope
Source§fn clone(&self) -> PermissionScope
fn clone(&self) -> PermissionScope
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 ComposeSchema for PermissionScope
impl ComposeSchema for PermissionScope
Source§impl Debug for PermissionScope
impl Debug for PermissionScope
Source§impl<'de> Deserialize<'de> for PermissionScope
impl<'de> Deserialize<'de> for PermissionScope
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for PermissionScope
impl Hash for PermissionScope
Source§impl PartialEq for PermissionScope
impl PartialEq for PermissionScope
Source§impl Serialize for PermissionScope
impl Serialize for PermissionScope
Source§impl ToSchema for PermissionScope
impl ToSchema for PermissionScope
impl Copy for PermissionScope
impl Eq for PermissionScope
impl StructuralPartialEq for PermissionScope
Auto Trait Implementations§
impl Freeze for PermissionScope
impl RefUnwindSafe for PermissionScope
impl Send for PermissionScope
impl Sync for PermissionScope
impl Unpin for PermissionScope
impl UnwindSafe for PermissionScope
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.