pub enum CommandProperties {
COMMAND_NAMESPACE,
COMMAND_NAME,
COMMAND_ARGS,
COMMAND_HELP,
COMMAND_RESULT,
}
Variants§
Trait Implementations§
Source§impl AsRef<str> for CommandProperties
impl AsRef<str> for CommandProperties
Source§impl Display for CommandProperties
impl Display for CommandProperties
Source§impl<'_derivative_strum> From<&'_derivative_strum CommandProperties> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum CommandProperties> for &'static str
Source§fn from(x: &'_derivative_strum CommandProperties) -> &'static str
fn from(x: &'_derivative_strum CommandProperties) -> &'static str
Converts to this type from the input type.
Source§impl From<CommandProperties> for &'static str
impl From<CommandProperties> for &'static str
Source§fn from(x: CommandProperties) -> &'static str
fn from(x: CommandProperties) -> &'static str
Converts to this type from the input type.
Source§impl From<CommandProperties> for String
impl From<CommandProperties> for String
Source§fn from(p: CommandProperties) -> Self
fn from(p: CommandProperties) -> Self
Converts to this type from the input type.
Source§impl PropertyTypeDefinition for CommandProperties
impl PropertyTypeDefinition for CommandProperties
Source§fn property_name(&self) -> String
fn property_name(&self) -> String
The property name.
Source§fn default_value(&self) -> Value
fn default_value(&self) -> Value
The default value of the property.
Auto Trait Implementations§
impl Freeze for CommandProperties
impl RefUnwindSafe for CommandProperties
impl Send for CommandProperties
impl Sync for CommandProperties
impl Unpin for CommandProperties
impl UnwindSafe for CommandProperties
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more§impl<I> IntoResettable<String> for I
impl<I> IntoResettable<String> for I
§fn into_resettable(self) -> Resettable<String>
fn into_resettable(self) -> Resettable<String>
Convert to the intended resettable type