pub struct PostgresDialect;Expand description
PostgreSQL dialect.
Trait Implementations§
Source§impl Clone for PostgresDialect
impl Clone for PostgresDialect
Source§fn clone(&self) -> PostgresDialect
fn clone(&self) -> PostgresDialect
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PostgresDialect
Source§impl Debug for PostgresDialect
impl Debug for PostgresDialect
Source§impl Default for PostgresDialect
impl Default for PostgresDialect
Source§fn default() -> PostgresDialect
fn default() -> PostgresDialect
Returns the “default value” for a type. Read more
Source§impl Dialect for PostgresDialect
impl Dialect for PostgresDialect
Source§fn quote_identifier(&self, ident: &str) -> String
fn quote_identifier(&self, ident: &str) -> String
Quote an identifier (table name, column name). Read more
Source§fn bind_parameter(&self, index: usize) -> String
fn bind_parameter(&self, index: usize) -> String
Return the bind parameter placeholder for the given 1-based index. Read more
Source§fn supports_returning(&self) -> bool
fn supports_returning(&self) -> bool
Whether this dialect supports the
RETURNING clause on INSERT/UPDATE/DELETE.Auto Trait Implementations§
impl Freeze for PostgresDialect
impl RefUnwindSafe for PostgresDialect
impl Send for PostgresDialect
impl Sync for PostgresDialect
impl Unpin for PostgresDialect
impl UnsafeUnpin for PostgresDialect
impl UnwindSafe for PostgresDialect
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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