pub struct TypeArg {
pub description: Option<String>,
pub name: Option<String>,
pub type_: String,
}
Expand description
TypeArg
JSON schema
{
"type": "object",
"required": [
"type"
],
"properties": {
"description": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
}
}
Fields§
§description: Option<String>
§name: Option<String>
§type_: String
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TypeArg
impl<'de> Deserialize<'de> for TypeArg
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<TypeArg> for ArgumentsItem
impl From<TypeArg> for ArgumentsItem
Auto Trait Implementations§
impl Freeze for TypeArg
impl RefUnwindSafe for TypeArg
impl Send for TypeArg
impl Sync for TypeArg
impl Unpin for TypeArg
impl UnwindSafe for TypeArg
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