Struct models_parser::ast::TypedString [−][src]
Expand description
A constant of form <data_type> 'value'
.
This can represent ANSI SQL DATE
, TIME
, and TIMESTAMP
literals (such as DATE '2020-01-01'
),
as well as constants of other types (a non-standard PostgreSQL extension).
Fields
data_type: DataType
value: String
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TypedString
impl Send for TypedString
impl Sync for TypedString
impl Unpin for TypedString
impl UnwindSafe for TypedString
Blanket Implementations
Mutably borrows from an owned value. Read more