pub struct TypeFixedChar {
pub metadata: Map<String, Value>,
pub system_metadata: Option<SystemTypeMetadata>,
pub type_: Value,
}Expand description
TypeFixedChar
JSON schema
{
"type": "object",
"required": [
"type"
],
"properties": {
"metadata": {
"description": "Arbitrary data created by the dialect author.",
"type": "object"
},
"system_metadata": {
"$ref": "#/definitions/system_type_metadata"
},
"type": {
"const": "FIXED_CHAR"
}
},
"additionalProperties": false
}Fields§
§metadata: Map<String, Value>Arbitrary data created by the dialect author.
system_metadata: Option<SystemTypeMetadata>§type_: ValueImplementations§
Source§impl TypeFixedChar
impl TypeFixedChar
pub fn builder() -> TypeFixedChar
Trait Implementations§
Source§impl Clone for TypeFixedChar
impl Clone for TypeFixedChar
Source§fn clone(&self) -> TypeFixedChar
fn clone(&self) -> TypeFixedChar
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TypeFixedChar
impl Debug for TypeFixedChar
Source§impl<'de> Deserialize<'de> for TypeFixedChar
impl<'de> Deserialize<'de> for TypeFixedChar
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TypeFixedChar, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TypeFixedChar, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<TypeFixedChar> for DialectSupportedTypesItem
impl From<TypeFixedChar> for DialectSupportedTypesItem
Source§fn from(value: TypeFixedChar) -> DialectSupportedTypesItem
fn from(value: TypeFixedChar) -> DialectSupportedTypesItem
Converts to this type from the input type.
Source§impl From<TypeFixedChar> for TypeFixedChar
impl From<TypeFixedChar> for TypeFixedChar
Source§fn from(value: TypeFixedChar) -> TypeFixedChar
fn from(value: TypeFixedChar) -> TypeFixedChar
Converts to this type from the input type.
Source§impl PartialEq for TypeFixedChar
impl PartialEq for TypeFixedChar
Source§impl Serialize for TypeFixedChar
impl Serialize for TypeFixedChar
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 TypeFixedChar
Source§impl TryFrom<TypeFixedChar> for TypeFixedChar
impl TryFrom<TypeFixedChar> for TypeFixedChar
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: TypeFixedChar) -> Result<TypeFixedChar, ConversionError>
fn try_from(value: TypeFixedChar) -> Result<TypeFixedChar, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for TypeFixedChar
impl RefUnwindSafe for TypeFixedChar
impl Send for TypeFixedChar
impl Sync for TypeFixedChar
impl Unpin for TypeFixedChar
impl UnsafeUnpin for TypeFixedChar
impl UnwindSafe for TypeFixedChar
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