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_: StringImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TypeArg
impl<'de> Deserialize<'de> for TypeArg
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TypeArg, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TypeArg, <__D as Deserializer<'de>>::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
Source§fn from(value: TypeArg) -> ArgumentsItem
fn from(value: TypeArg) -> ArgumentsItem
Converts to this type from the input type.
Source§impl Serialize for TypeArg
impl Serialize for TypeArg
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for TypeArg
Auto Trait Implementations§
impl Freeze for TypeArg
impl RefUnwindSafe for TypeArg
impl Send for TypeArg
impl Sync for TypeArg
impl Unpin for TypeArg
impl UnsafeUnpin 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