pub enum OperatorCapabilityState {
Granted,
Denied,
Unavailable,
}Expand description
State of an Operator capability as observed inside the environment.
JSON schema
{
"description": "State of an Operator capability as observed inside the environment.",
"type": "string",
"enum": [
"granted",
"denied",
"unavailable"
]
}Variants§
Trait Implementations§
Source§impl Clone for OperatorCapabilityState
impl Clone for OperatorCapabilityState
Source§fn clone(&self) -> OperatorCapabilityState
fn clone(&self) -> OperatorCapabilityState
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 moreimpl Copy for OperatorCapabilityState
Source§impl Debug for OperatorCapabilityState
impl Debug for OperatorCapabilityState
Source§impl<'de> Deserialize<'de> for OperatorCapabilityState
impl<'de> Deserialize<'de> for OperatorCapabilityState
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 OperatorCapabilityState
impl Display for OperatorCapabilityState
impl Eq for OperatorCapabilityState
Source§impl From<&OperatorCapabilityState> for OperatorCapabilityState
impl From<&OperatorCapabilityState> for OperatorCapabilityState
Source§fn from(value: &OperatorCapabilityState) -> Self
fn from(value: &OperatorCapabilityState) -> Self
Converts to this type from the input type.
Source§impl FromStr for OperatorCapabilityState
impl FromStr for OperatorCapabilityState
Source§impl Hash for OperatorCapabilityState
impl Hash for OperatorCapabilityState
Source§impl Ord for OperatorCapabilityState
impl Ord for OperatorCapabilityState
Source§fn cmp(&self, other: &OperatorCapabilityState) -> Ordering
fn cmp(&self, other: &OperatorCapabilityState) -> Ordering
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 PartialEq for OperatorCapabilityState
impl PartialEq for OperatorCapabilityState
Source§impl PartialOrd for OperatorCapabilityState
impl PartialOrd for OperatorCapabilityState
Source§impl Serialize for OperatorCapabilityState
impl Serialize for OperatorCapabilityState
impl StructuralPartialEq for OperatorCapabilityState
Source§impl TryFrom<&String> for OperatorCapabilityState
impl TryFrom<&String> for OperatorCapabilityState
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for OperatorCapabilityState
impl TryFrom<&str> for OperatorCapabilityState
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for OperatorCapabilityState
impl TryFrom<String> for OperatorCapabilityState
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for OperatorCapabilityState
impl RefUnwindSafe for OperatorCapabilityState
impl Send for OperatorCapabilityState
impl Sync for OperatorCapabilityState
impl Unpin for OperatorCapabilityState
impl UnsafeUnpin for OperatorCapabilityState
impl UnwindSafe for OperatorCapabilityState
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