#[non_exhaustive]pub enum SharingAccessorType {
User,
Group,
Unknown(String),
}Expand description
A SharingAccessorType indicates the type of accessor for which a SharingAccessor defines
access permissions to the respective entity.
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.
User
Indicates the respective SharingAccessor is describing a specific user’s Account’s
permissions on the shared entity.
Group
Indicates the respective SharingAccessor is describing a group of user’s permissions on
the shared entity.
Unknown(String)
An unknown SharingAccessorType, this is meant for future compatibility.
Trait Implementations§
Source§impl Clone for SharingAccessorType
impl Clone for SharingAccessorType
Source§fn clone(&self) -> SharingAccessorType
fn clone(&self) -> SharingAccessorType
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 Debug for SharingAccessorType
impl Debug for SharingAccessorType
Source§impl<'de> Deserialize<'de> for SharingAccessorType
impl<'de> Deserialize<'de> for SharingAccessorType
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 for SharingAccessorType
impl PartialEq for SharingAccessorType
Source§impl Serialize for SharingAccessorType
impl Serialize for SharingAccessorType
impl Eq for SharingAccessorType
impl StructuralPartialEq for SharingAccessorType
Auto Trait Implementations§
impl Freeze for SharingAccessorType
impl RefUnwindSafe for SharingAccessorType
impl Send for SharingAccessorType
impl Sync for SharingAccessorType
impl Unpin for SharingAccessorType
impl UnwindSafe for SharingAccessorType
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