pub struct TypeVarchar {
pub max_length: Option<i64>,
pub metadata: Map<String, Value>,
pub system_metadata: Option<SystemTypeMetadata>,
pub type_: Value,
}Expand description
TypeVarchar
JSON schema
{
"type": "object",
"required": [
"type"
],
"properties": {
"max_length": {
"description": "The maximum length for the VARCHAR data type supported by this dialect.\nSince the maximum length in Substrait for VARCHAR is 2,147,483,647 the value must be in range: 0 <= max_length <= 2,147,483,647.",
"type": "integer",
"maximum": 2147483647.0,
"minimum": 0.0
},
"metadata": {
"description": "Arbitrary data created by the dialect author.",
"type": "object"
},
"system_metadata": {
"$ref": "#/definitions/system_type_metadata"
},
"type": {
"const": "VARCHAR"
}
},
"additionalProperties": false
}Fields§
§max_length: Option<i64>The maximum length for the VARCHAR data type supported by this dialect. Since the maximum length in Substrait for VARCHAR is 2,147,483,647 the value must be in range: 0 <= max_length <= 2,147,483,647.
metadata: Map<String, Value>Arbitrary data created by the dialect author.
system_metadata: Option<SystemTypeMetadata>§type_: ValueImplementations§
Source§impl TypeVarchar
impl TypeVarchar
pub fn builder() -> TypeVarchar
Trait Implementations§
Source§impl Clone for TypeVarchar
impl Clone for TypeVarchar
Source§fn clone(&self) -> TypeVarchar
fn clone(&self) -> TypeVarchar
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 TypeVarchar
impl Debug for TypeVarchar
Source§impl<'de> Deserialize<'de> for TypeVarchar
impl<'de> Deserialize<'de> for TypeVarchar
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<TypeVarchar> for DialectSupportedTypesItem
impl From<TypeVarchar> for DialectSupportedTypesItem
Source§fn from(value: TypeVarchar) -> Self
fn from(value: TypeVarchar) -> Self
Converts to this type from the input type.
Source§impl From<TypeVarchar> for TypeVarchar
impl From<TypeVarchar> for TypeVarchar
Source§fn from(value: TypeVarchar) -> Self
fn from(value: TypeVarchar) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TypeVarchar
impl PartialEq for TypeVarchar
Source§impl Serialize for TypeVarchar
impl Serialize for TypeVarchar
impl StructuralPartialEq for TypeVarchar
Source§impl TryFrom<TypeVarchar> for TypeVarchar
impl TryFrom<TypeVarchar> for TypeVarchar
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: TypeVarchar) -> Result<Self, ConversionError>
fn try_from(value: TypeVarchar) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for TypeVarchar
impl RefUnwindSafe for TypeVarchar
impl Send for TypeVarchar
impl Sync for TypeVarchar
impl Unpin for TypeVarchar
impl UnsafeUnpin for TypeVarchar
impl UnwindSafe for TypeVarchar
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