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§
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<'de> Deserialize<'de> for TimezoneInfo
 
impl<'de> Deserialize<'de> for TimezoneInfo
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 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 Serialize for TimezoneInfo
 
impl Serialize for TimezoneInfo
source§impl Visit for TimezoneInfo
 
impl Visit for TimezoneInfo
source§impl VisitMut for TimezoneInfo
 
impl VisitMut for TimezoneInfo
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
impl Copy for TimezoneInfo
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§
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