pub enum ControlAuthoritySource {
Unknown,
RootController,
OperatorController,
AlternateController {
controller: String,
reason: String,
},
}Expand description
ControlAuthoritySource
Variants§
Trait Implementations§
Source§impl Clone for ControlAuthoritySource
impl Clone for ControlAuthoritySource
Source§fn clone(&self) -> ControlAuthoritySource
fn clone(&self) -> ControlAuthoritySource
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 ControlAuthoritySource
impl Debug for ControlAuthoritySource
Source§impl<'de> Deserialize<'de> for ControlAuthoritySource
impl<'de> Deserialize<'de> for ControlAuthoritySource
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 ControlAuthoritySource
impl PartialEq for ControlAuthoritySource
Source§fn eq(&self, other: &ControlAuthoritySource) -> bool
fn eq(&self, other: &ControlAuthoritySource) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ControlAuthoritySource
impl Serialize for ControlAuthoritySource
impl Eq for ControlAuthoritySource
impl StructuralPartialEq for ControlAuthoritySource
Auto Trait Implementations§
impl Freeze for ControlAuthoritySource
impl RefUnwindSafe for ControlAuthoritySource
impl Send for ControlAuthoritySource
impl Sync for ControlAuthoritySource
impl Unpin for ControlAuthoritySource
impl UnsafeUnpin for ControlAuthoritySource
impl UnwindSafe for ControlAuthoritySource
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