pub enum RBACRoleType {
System,
Custom,
Unknown(String),
}Expand description
Inline enum for RBACRole.type.
Variants§
Trait Implementations§
Source§impl Clone for RBACRoleType
impl Clone for RBACRoleType
Source§fn clone(&self) -> RBACRoleType
fn clone(&self) -> RBACRoleType
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 RBACRoleType
impl Debug for RBACRoleType
Source§impl Default for RBACRoleType
impl Default for RBACRoleType
Source§fn default() -> RBACRoleType
fn default() -> RBACRoleType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RBACRoleType
impl<'de> Deserialize<'de> for RBACRoleType
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 Display for RBACRoleType
impl Display for RBACRoleType
Source§impl PartialEq for RBACRoleType
impl PartialEq for RBACRoleType
Source§fn eq(&self, other: &RBACRoleType) -> bool
fn eq(&self, other: &RBACRoleType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RBACRoleType
impl Serialize for RBACRoleType
impl StructuralPartialEq for RBACRoleType
Auto Trait Implementations§
impl Freeze for RBACRoleType
impl RefUnwindSafe for RBACRoleType
impl Send for RBACRoleType
impl Sync for RBACRoleType
impl Unpin for RBACRoleType
impl UnsafeUnpin for RBACRoleType
impl UnwindSafe for RBACRoleType
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