pub struct ParserSettings {
pub standard_conforming_strings: bool,
pub backslash_quote: bool,
pub escape_string_warning: bool,
}Expand description
Settings captured before parsing a complete SQL message. A later SET in that message cannot change its already parsed string values.
Fields§
§standard_conforming_strings: bool§backslash_quote: bool§escape_string_warning: boolImplementations§
Trait Implementations§
Source§impl Clone for ParserSettings
impl Clone for ParserSettings
impl Copy for ParserSettings
Source§impl Debug for ParserSettings
impl Debug for ParserSettings
Source§impl Default for ParserSettings
impl Default for ParserSettings
impl Eq for ParserSettings
Source§impl PartialEq for ParserSettings
impl PartialEq for ParserSettings
impl StructuralPartialEq for ParserSettings
Auto Trait Implementations§
impl Freeze for ParserSettings
impl RefUnwindSafe for ParserSettings
impl Send for ParserSettings
impl Sync for ParserSettings
impl Unpin for ParserSettings
impl UnsafeUnpin for ParserSettings
impl UnwindSafe for ParserSettings
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,
impl<T> ErasedDestructor for Twhere
T: 'static,
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