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