pub enum CommandTargetType {
Worker,
Container,
Daemon,
}Expand description
The kind of command-capable resource a command targets.
JSON schema
{
"description": "The kind of command-capable resource a command targets.",
"type": "string",
"enum": [
"worker",
"container",
"daemon"
]
}Variants§
Trait Implementations§
Source§impl Clone for CommandTargetType
impl Clone for CommandTargetType
Source§fn clone(&self) -> CommandTargetType
fn clone(&self) -> CommandTargetType
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 CommandTargetType
Source§impl Debug for CommandTargetType
impl Debug for CommandTargetType
Source§impl<'de> Deserialize<'de> for CommandTargetType
impl<'de> Deserialize<'de> for CommandTargetType
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 CommandTargetType
impl Display for CommandTargetType
impl Eq for CommandTargetType
Source§impl From<&CommandTargetType> for CommandTargetType
impl From<&CommandTargetType> for CommandTargetType
Source§fn from(value: &CommandTargetType) -> Self
fn from(value: &CommandTargetType) -> Self
Converts to this type from the input type.
Source§impl FromStr for CommandTargetType
impl FromStr for CommandTargetType
Source§impl Hash for CommandTargetType
impl Hash for CommandTargetType
Source§impl Ord for CommandTargetType
impl Ord for CommandTargetType
Source§fn cmp(&self, other: &CommandTargetType) -> Ordering
fn cmp(&self, other: &CommandTargetType) -> 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 CommandTargetType
impl PartialEq for CommandTargetType
Source§impl PartialOrd for CommandTargetType
impl PartialOrd for CommandTargetType
Source§impl Serialize for CommandTargetType
impl Serialize for CommandTargetType
impl StructuralPartialEq for CommandTargetType
Source§impl TryFrom<&String> for CommandTargetType
impl TryFrom<&String> for CommandTargetType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for CommandTargetType
impl TryFrom<&str> for CommandTargetType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for CommandTargetType
impl TryFrom<String> for CommandTargetType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for CommandTargetType
impl RefUnwindSafe for CommandTargetType
impl Send for CommandTargetType
impl Sync for CommandTargetType
impl Unpin for CommandTargetType
impl UnsafeUnpin for CommandTargetType
impl UnwindSafe for CommandTargetType
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