pub enum ArgValue {
String(String),
Int(i64),
Float(f64),
Bool(bool),
}Expand description
One parsed argument, of the kind its action declares.
Variants§
String(String)
A string or choice argument, or rest.
Int(i64)
An int argument.
Float(f64)
A float argument.
Bool(bool)
A bool argument.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ArgValue
impl<'de> Deserialize<'de> for ArgValue
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 StructuralPartialEq for ArgValue
Auto Trait Implementations§
impl Freeze for ArgValue
impl RefUnwindSafe for ArgValue
impl Send for ArgValue
impl Sync for ArgValue
impl Unpin for ArgValue
impl UnsafeUnpin for ArgValue
impl UnwindSafe for ArgValue
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