pub enum TenantRole {
Viewer,
Operator,
Admin,
Owner,
}Expand description
A role inside a tenant, weakest first.
Variants§
Trait Implementations§
Source§impl Clone for TenantRole
impl Clone for TenantRole
impl Copy for TenantRole
Source§impl Debug for TenantRole
impl Debug for TenantRole
Source§impl<'de> Deserialize<'de> for TenantRole
impl<'de> Deserialize<'de> for TenantRole
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
impl Eq for TenantRole
Source§impl Ord for TenantRole
impl Ord for TenantRole
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for TenantRole
impl PartialEq for TenantRole
Source§impl PartialOrd for TenantRole
impl PartialOrd for TenantRole
Source§impl Serialize for TenantRole
impl Serialize for TenantRole
impl StructuralPartialEq for TenantRole
Auto Trait Implementations§
impl Freeze for TenantRole
impl RefUnwindSafe for TenantRole
impl Send for TenantRole
impl Sync for TenantRole
impl Unpin for TenantRole
impl UnsafeUnpin for TenantRole
impl UnwindSafe for TenantRole
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