Enum etebase::CollectionAccessLevel
source · #[repr(u32)]pub enum CollectionAccessLevel {
ReadOnly,
Admin,
ReadWrite,
}
Expand description
The access level to a collection
Variants§
Trait Implementations§
source§impl Clone for CollectionAccessLevel
impl Clone for CollectionAccessLevel
source§fn clone(&self) -> CollectionAccessLevel
fn clone(&self) -> CollectionAccessLevel
Returns a copy 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 CollectionAccessLevel
impl Debug for CollectionAccessLevel
source§impl<'de> Deserialize<'de> for CollectionAccessLevel
impl<'de> Deserialize<'de> for CollectionAccessLevel
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 PartialEq<CollectionAccessLevel> for CollectionAccessLevel
impl PartialEq<CollectionAccessLevel> for CollectionAccessLevel
source§fn eq(&self, other: &CollectionAccessLevel) -> bool
fn eq(&self, other: &CollectionAccessLevel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CollectionAccessLevel
impl Serialize for CollectionAccessLevel
impl Copy for CollectionAccessLevel
impl StructuralPartialEq for CollectionAccessLevel
Auto Trait Implementations§
impl RefUnwindSafe for CollectionAccessLevel
impl Send for CollectionAccessLevel
impl Sync for CollectionAccessLevel
impl Unpin for CollectionAccessLevel
impl UnwindSafe for CollectionAccessLevel
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