pub enum PostgresSqlLiteralValue {
Null,
String {
value: String,
},
Number {
value: String,
},
Boolean {
value: bool,
},
Other {
sql: String,
},
}Expand description
Parser-native literal values; numbers retain their exact decimal spelling.
Variants§
Trait Implementations§
Source§impl Clone for PostgresSqlLiteralValue
impl Clone for PostgresSqlLiteralValue
Source§impl Debug for PostgresSqlLiteralValue
impl Debug for PostgresSqlLiteralValue
impl Eq for PostgresSqlLiteralValue
Source§impl PartialEq for PostgresSqlLiteralValue
impl PartialEq for PostgresSqlLiteralValue
Source§impl Serialize for PostgresSqlLiteralValue
impl Serialize for PostgresSqlLiteralValue
impl StructuralPartialEq for PostgresSqlLiteralValue
Auto Trait Implementations§
impl Forget for PostgresSqlLiteralValue
impl Freeze for PostgresSqlLiteralValue
impl Move for PostgresSqlLiteralValue
impl RefUnwindSafe for PostgresSqlLiteralValue
impl Send for PostgresSqlLiteralValuewhere
RawVecInner: Send,
impl Sync for PostgresSqlLiteralValuewhere
RawVecInner: Sync,
impl Unpin for PostgresSqlLiteralValue
impl UnsafeUnpin for PostgresSqlLiteralValue
impl UnwindSafe for PostgresSqlLiteralValuewhere
RawVecInner: UnwindSafe,
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 more