pub struct ArgumentOption {
pub title: String,
pub value: Value,
}
Expand description
Represents an option for a user-selectable argument.
Fields§
§title: String
§value: Value
Implementations§
Trait Implementations§
Source§impl Clone for ArgumentOption
impl Clone for ArgumentOption
Source§fn clone(&self) -> ArgumentOption
fn clone(&self) -> ArgumentOption
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ArgumentOption
impl Debug for ArgumentOption
Source§impl<'de> Deserialize<'de> for ArgumentOption
impl<'de> Deserialize<'de> for ArgumentOption
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 PartialEq for ArgumentOption
impl PartialEq for ArgumentOption
Source§impl Serialize for ArgumentOption
impl Serialize for ArgumentOption
impl StructuralPartialEq for ArgumentOption
Auto Trait Implementations§
impl Freeze for ArgumentOption
impl RefUnwindSafe for ArgumentOption
impl Send for ArgumentOption
impl Sync for ArgumentOption
impl Unpin for ArgumentOption
impl UnwindSafe for ArgumentOption
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