pub enum PostgresSqlBodyEncoding {
EscapedString,
DollarQuoted,
SingleQuoted,
}Expand description
The source slice retains the enclosing literal’s encoding.
Variants§
Trait Implementations§
Source§impl Clone for PostgresSqlBodyEncoding
impl Clone for PostgresSqlBodyEncoding
impl Copy for PostgresSqlBodyEncoding
Source§impl Debug for PostgresSqlBodyEncoding
impl Debug for PostgresSqlBodyEncoding
impl Eq for PostgresSqlBodyEncoding
Source§impl PartialEq for PostgresSqlBodyEncoding
impl PartialEq for PostgresSqlBodyEncoding
Source§impl Serialize for PostgresSqlBodyEncoding
impl Serialize for PostgresSqlBodyEncoding
impl StructuralPartialEq for PostgresSqlBodyEncoding
Auto Trait Implementations§
impl Forget for PostgresSqlBodyEncoding
impl Freeze for PostgresSqlBodyEncoding
impl Move for PostgresSqlBodyEncoding
impl RefUnwindSafe for PostgresSqlBodyEncoding
impl Send for PostgresSqlBodyEncoding
impl Sync for PostgresSqlBodyEncoding
impl Unpin for PostgresSqlBodyEncoding
impl UnsafeUnpin for PostgresSqlBodyEncoding
impl UnwindSafe for PostgresSqlBodyEncoding
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