pub enum FleetRole {
Viewer,
Operator,
Admin,
}Expand description
A fleet role, ordered Viewer < Operator < Admin. Defaults to Viewer, the
least privileged, so an omitted ceiling grants nothing extra (ADR 0023).
Variants§
Trait Implementations§
impl Copy for FleetRole
Source§impl<'de> Deserialize<'de> for FleetRole
impl<'de> Deserialize<'de> for FleetRole
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 FleetRole
Source§impl Ord for FleetRole
impl Ord for FleetRole
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
Source§impl PartialOrd for FleetRole
impl PartialOrd for FleetRole
impl StructuralPartialEq for FleetRole
Auto Trait Implementations§
impl Freeze for FleetRole
impl RefUnwindSafe for FleetRole
impl Send for FleetRole
impl Sync for FleetRole
impl Unpin for FleetRole
impl UnsafeUnpin for FleetRole
impl UnwindSafe for FleetRole
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