Enum deltalake::datafusion::sql::sqlparser::ast::TimezoneInfo
source · pub enum TimezoneInfo {
None,
WithTimeZone,
WithoutTimeZone,
Tz,
}
Expand description
Timestamp and Time data types information about TimeZone formatting.
This is more related to a display information than real differences between each variant. To guarantee compatibility with the input query we must maintain its exact information.
Variants§
None
No information about time zone. E.g., TIMESTAMP
WithTimeZone
WithoutTimeZone
Temporal type ‘WITHOUT TIME ZONE’. E.g., TIME WITHOUT TIME ZONE, standard, Postgresql
Tz
Postgresql specific WITH TIME ZONE
formatting, for both TIME and TIMESTAMP. E.g., TIMETZ, Postgresql
Trait Implementations§
source§impl Clone for TimezoneInfo
impl Clone for TimezoneInfo
source§fn clone(&self) -> TimezoneInfo
fn clone(&self) -> TimezoneInfo
Returns a copy 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 TimezoneInfo
impl Debug for TimezoneInfo
source§impl Display for TimezoneInfo
impl Display for TimezoneInfo
source§impl Hash for TimezoneInfo
impl Hash for TimezoneInfo
source§impl Ord for TimezoneInfo
impl Ord for TimezoneInfo
source§fn cmp(&self, other: &TimezoneInfo) -> Ordering
fn cmp(&self, other: &TimezoneInfo) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for TimezoneInfo
impl PartialEq for TimezoneInfo
source§fn eq(&self, other: &TimezoneInfo) -> bool
fn eq(&self, other: &TimezoneInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for TimezoneInfo
impl PartialOrd for TimezoneInfo
source§fn partial_cmp(&self, other: &TimezoneInfo) -> Option<Ordering>
fn partial_cmp(&self, other: &TimezoneInfo) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Visit for TimezoneInfo
impl Visit for TimezoneInfo
source§impl VisitMut for TimezoneInfo
impl VisitMut for TimezoneInfo
fn visit<V>(&mut self, visitor: &mut V) -> ControlFlow<<V as VisitorMut>::Break>where
V: VisitorMut,
impl Copy for TimezoneInfo
impl Eq for TimezoneInfo
impl StructuralPartialEq for TimezoneInfo
Auto Trait Implementations§
impl Freeze for TimezoneInfo
impl RefUnwindSafe for TimezoneInfo
impl Send for TimezoneInfo
impl Sync for TimezoneInfo
impl Unpin for TimezoneInfo
impl UnwindSafe for TimezoneInfo
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
source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.