pub enum ArgValue {
Table(Vec<Vec<TypedValue>>),
Number(f64),
String(String),
Bool(bool),
Null,
}
Expand description
A single CLI argument or value that has been type-classified by the parser.
Variants§
Table(Vec<Vec<TypedValue>>)
Tabular data, typically from CSV or database results.
Number(f64)
Numerical value, either integer or floating-point.
String(String)
Textual data.
Bool(bool)
Boolean value.
Null
Absence of a value.
Implementations§
Trait Implementations§
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 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