pub struct TypeStruct {
pub system_metadata: Option<SystemTypeMetadata>,
pub type_: Value,
}
Expand description
TypeStruct
JSON schema
{
"type": "object",
"required": [
"type"
],
"properties": {
"system_metadata": {
"$ref": "#/definitions/system_type_metadata"
},
"type": {
"const": "STRUCT"
}
},
"additionalProperties": false
}
Fields§
§system_metadata: Option<SystemTypeMetadata>
§type_: Value
Implementations§
Source§impl TypeStruct
impl TypeStruct
pub fn builder() -> TypeStruct
Trait Implementations§
Source§impl Clone for TypeStruct
impl Clone for TypeStruct
Source§fn clone(&self) -> TypeStruct
fn clone(&self) -> TypeStruct
Returns a duplicate 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 TypeStruct
impl Debug for TypeStruct
Source§impl<'de> Deserialize<'de> for TypeStruct
impl<'de> Deserialize<'de> for TypeStruct
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<&TypeStruct> for TypeStruct
impl From<&TypeStruct> for TypeStruct
Source§fn from(value: &TypeStruct) -> Self
fn from(value: &TypeStruct) -> Self
Converts to this type from the input type.
Source§impl From<TypeStruct> for DialectSupportedTypesItem
impl From<TypeStruct> for DialectSupportedTypesItem
Source§fn from(value: TypeStruct) -> Self
fn from(value: TypeStruct) -> Self
Converts to this type from the input type.
Source§impl From<TypeStruct> for TypeStruct
impl From<TypeStruct> for TypeStruct
Source§fn from(value: TypeStruct) -> Self
fn from(value: TypeStruct) -> Self
Converts to this type from the input type.
Source§impl Serialize for TypeStruct
impl Serialize for TypeStruct
Source§impl TryFrom<TypeStruct> for TypeStruct
impl TryFrom<TypeStruct> for TypeStruct
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: TypeStruct) -> Result<Self, ConversionError>
fn try_from(value: TypeStruct) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for TypeStruct
impl RefUnwindSafe for TypeStruct
impl Send for TypeStruct
impl Sync for TypeStruct
impl Unpin for TypeStruct
impl UnwindSafe for TypeStruct
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