Struct sql_parse::ParseOptions 
source · pub struct ParseOptions { /* private fields */ }Expand description
Options used when parsing sql
Implementations§
source§impl ParseOptions
 
impl ParseOptions
pub fn new() -> Self
sourcepub fn dialect(self, dialect: SQLDialect) -> Self
 
pub fn dialect(self, dialect: SQLDialect) -> Self
Change whan SQL dialect to use
pub fn get_dialect(&self) -> SQLDialect
sourcepub fn arguments(self, arguments: SQLArguments) -> Self
 
pub fn arguments(self, arguments: SQLArguments) -> Self
Change what kinds of arguments are supplied
sourcepub fn warn_unquoted_identifiers(self, warn_unquoted_identifiers: bool) -> Self
 
pub fn warn_unquoted_identifiers(self, warn_unquoted_identifiers: bool) -> Self
Should we warn about unquoted identifiers
sourcepub fn warn_none_capital_keywords(
    self,
    warn_none_capital_keywords: bool
) -> Self
 
pub fn warn_none_capital_keywords( self, warn_none_capital_keywords: bool ) -> Self
Should we warn about unquoted identifiers
Trait Implementations§
source§impl Clone for ParseOptions
 
impl Clone for ParseOptions
source§fn clone(&self) -> ParseOptions
 
fn clone(&self) -> ParseOptions
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 moresource§impl Debug for ParseOptions
 
impl Debug for ParseOptions
Auto Trait Implementations§
impl Freeze for ParseOptions
impl RefUnwindSafe for ParseOptions
impl Send for ParseOptions
impl Sync for ParseOptions
impl Unpin for ParseOptions
impl UnwindSafe for ParseOptions
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