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 more