#[non_exhaustive]pub enum WriteAccess {
Free,
RequiresGrant,
ReadOnly,
Attributed,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for WriteAccess
impl Clone for WriteAccess
Source§fn clone(&self) -> WriteAccess
fn clone(&self) -> WriteAccess
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 WriteAccess
impl Debug for WriteAccess
Source§impl Default for WriteAccess
impl Default for WriteAccess
Source§fn default() -> WriteAccess
fn default() -> WriteAccess
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WriteAccess
impl<'de> Deserialize<'de> for WriteAccess
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
Auto Trait Implementations§
impl Freeze for WriteAccess
impl RefUnwindSafe for WriteAccess
impl Send for WriteAccess
impl Sync for WriteAccess
impl Unpin for WriteAccess
impl UnsafeUnpin for WriteAccess
impl UnwindSafe for WriteAccess
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