pub struct TypePrecisionTimestamp {
pub max_precision: i64,
pub metadata: Map<String, Value>,
pub system_metadata: Option<SystemTypeMetadata>,
pub type_: Value,
}Expand description
TypePrecisionTimestamp
Fields§
§max_precision: i64The maximum subsecond precision for the PRECISION_TIMESTAMP data type supported by this dialect. Since the maximum precision in Substrait for PRECISION_TIMESTAMP is 12 the value must be in range: 0 <= max_precision <= 12.
metadata: Map<String, Value>Arbitrary data created by the dialect author.
system_metadata: Option<SystemTypeMetadata>§type_: ValueImplementations§
Source§impl TypePrecisionTimestamp
impl TypePrecisionTimestamp
pub fn builder() -> TypePrecisionTimestamp
Trait Implementations§
Source§impl Clone for TypePrecisionTimestamp
impl Clone for TypePrecisionTimestamp
Source§fn clone(&self) -> TypePrecisionTimestamp
fn clone(&self) -> TypePrecisionTimestamp
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 TypePrecisionTimestamp
impl Debug for TypePrecisionTimestamp
Source§impl<'de> Deserialize<'de> for TypePrecisionTimestamp
impl<'de> Deserialize<'de> for TypePrecisionTimestamp
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TypePrecisionTimestamp, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TypePrecisionTimestamp, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<TypePrecisionTimestamp> for DialectSupportedTypesItem
impl From<TypePrecisionTimestamp> for DialectSupportedTypesItem
Source§fn from(value: TypePrecisionTimestamp) -> DialectSupportedTypesItem
fn from(value: TypePrecisionTimestamp) -> DialectSupportedTypesItem
Converts to this type from the input type.
Source§impl From<TypePrecisionTimestamp> for TypePrecisionTimestamp
impl From<TypePrecisionTimestamp> for TypePrecisionTimestamp
Source§fn from(value: TypePrecisionTimestamp) -> TypePrecisionTimestamp
fn from(value: TypePrecisionTimestamp) -> TypePrecisionTimestamp
Converts to this type from the input type.
Source§impl PartialEq for TypePrecisionTimestamp
impl PartialEq for TypePrecisionTimestamp
Source§impl Serialize for TypePrecisionTimestamp
impl Serialize for TypePrecisionTimestamp
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 TypePrecisionTimestamp
Source§impl TryFrom<TypePrecisionTimestamp> for TypePrecisionTimestamp
impl TryFrom<TypePrecisionTimestamp> for TypePrecisionTimestamp
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: TypePrecisionTimestamp,
) -> Result<TypePrecisionTimestamp, ConversionError>
fn try_from( value: TypePrecisionTimestamp, ) -> Result<TypePrecisionTimestamp, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Forget for TypePrecisionTimestamp
impl Freeze for TypePrecisionTimestampwhere
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Value>: Freeze,
impl Move for TypePrecisionTimestamp
impl RefUnwindSafe for TypePrecisionTimestamp
impl Send for TypePrecisionTimestamp
impl Sync for TypePrecisionTimestamp
impl Unpin for TypePrecisionTimestamp
impl UnsafeUnpin for TypePrecisionTimestampwhere
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
impl UnwindSafe for TypePrecisionTimestamp
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