pub struct ValueArg {
pub constant: Option<bool>,
pub description: Option<String>,
pub name: Option<String>,
pub value: Type,
}
Expand description
ValueArg
JSON schema
{
"type": "object",
"required": [
"value"
],
"properties": {
"constant": {
"type": "boolean"
},
"description": {
"type": "string"
},
"name": {
"type": "string"
},
"value": {
"$ref": "#/$defs/type"
}
}
}
Fields§
§constant: Option<bool>
§description: Option<String>
§name: Option<String>
§value: Type
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ValueArg
impl<'de> Deserialize<'de> for ValueArg
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 From<ValueArg> for ArgumentsItem
impl From<ValueArg> for ArgumentsItem
Auto Trait Implementations§
impl Freeze for ValueArg
impl RefUnwindSafe for ValueArg
impl Send for ValueArg
impl Sync for ValueArg
impl Unpin for ValueArg
impl UnwindSafe for ValueArg
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