Enum 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
sourceimpl Clone for TimezoneInfo
impl Clone for TimezoneInfo
sourcefn clone(&self) -> TimezoneInfo
fn clone(&self) -> TimezoneInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for TimezoneInfo
impl Debug for TimezoneInfo
sourceimpl Display for TimezoneInfo
impl Display for TimezoneInfo
sourceimpl Hash for TimezoneInfo
impl Hash for TimezoneInfo
sourceimpl PartialEq<TimezoneInfo> for TimezoneInfo
impl PartialEq<TimezoneInfo> for TimezoneInfo
sourcefn eq(&self, other: &TimezoneInfo) -> bool
fn eq(&self, other: &TimezoneInfo) -> bool
impl Eq for TimezoneInfo
impl StructuralEq for TimezoneInfo
impl StructuralPartialEq for TimezoneInfo
Auto Trait Implementations
impl RefUnwindSafe for TimezoneInfo
impl Send for TimezoneInfo
impl Sync for TimezoneInfo
impl Unpin for TimezoneInfo
impl UnwindSafe for TimezoneInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more