pub struct TypeDescriptions {
pub type_identifier: Option<String>,
pub type_string: Option<String>,
}
Expand description
TypeDescriptions
JSON schema
{
"type": "object",
"properties": {
"typeIdentifier": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"typeString": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}
Fields§
§type_identifier: Option<String>
§type_string: Option<String>
Trait Implementations§
Source§impl Clone for TypeDescriptions
impl Clone for TypeDescriptions
Source§fn clone(&self) -> TypeDescriptions
fn clone(&self) -> TypeDescriptions
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 TypeDescriptions
impl Debug for TypeDescriptions
Source§impl<'de> Deserialize<'de> for TypeDescriptions
impl<'de> Deserialize<'de> for TypeDescriptions
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<&TypeDescriptions> for TypeDescriptions
impl From<&TypeDescriptions> for TypeDescriptions
Source§fn from(value: &TypeDescriptions) -> Self
fn from(value: &TypeDescriptions) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TypeDescriptions
impl RefUnwindSafe for TypeDescriptions
impl Send for TypeDescriptions
impl Sync for TypeDescriptions
impl Unpin for TypeDescriptions
impl UnwindSafe for TypeDescriptions
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