pub struct Arg {
pub name: String,
pub description: String,
pub rest: bool,
pub required: Option<bool>,
pub arg_type: Value,
pub condition: Option<bool>,
pub arg_enum: Option<Vec<String>>,
pub enum_name: Option<String>,
pub pointer: Option<i64>,
pub pointer_property: Option<String>,
pub extra: HashMap<String, Value>,
}Fields§
§name: String§description: String§rest: bool§required: Option<bool>§arg_type: Value§condition: Option<bool>§arg_enum: Option<Vec<String>>§enum_name: Option<String>§pointer: Option<i64>§pointer_property: Option<String>§extra: HashMap<String, Value>Capture unrecognized keys for forward compatibility
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Arg
impl<'de> Deserialize<'de> for Arg
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 Eq for Arg
impl StructuralPartialEq for Arg
Auto Trait Implementations§
impl Freeze for Arg
impl RefUnwindSafe for Arg
impl Send for Arg
impl Sync for Arg
impl Unpin for Arg
impl UnsafeUnpin for Arg
impl UnwindSafe for Arg
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