pub enum PgIdentifierStyle {
Unquoted,
Quoted,
}Expand description
Rendering style for a PostgreSQL identifier segment.
Variants§
Unquoted
The identifier can render without double quotes.
Quoted
The identifier must render as a double-quoted identifier.
Trait Implementations§
Source§impl Clone for PgIdentifierStyle
impl Clone for PgIdentifierStyle
Source§fn clone(&self) -> PgIdentifierStyle
fn clone(&self) -> PgIdentifierStyle
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 moreSource§impl Debug for PgIdentifierStyle
impl Debug for PgIdentifierStyle
Source§impl Default for PgIdentifierStyle
impl Default for PgIdentifierStyle
Source§fn default() -> PgIdentifierStyle
fn default() -> PgIdentifierStyle
Returns the “default value” for a type. Read more
Source§impl Hash for PgIdentifierStyle
impl Hash for PgIdentifierStyle
Source§impl Ord for PgIdentifierStyle
impl Ord for PgIdentifierStyle
Source§fn cmp(&self, other: &PgIdentifierStyle) -> Ordering
fn cmp(&self, other: &PgIdentifierStyle) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PgIdentifierStyle
impl PartialEq for PgIdentifierStyle
Source§fn eq(&self, other: &PgIdentifierStyle) -> bool
fn eq(&self, other: &PgIdentifierStyle) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PgIdentifierStyle
impl PartialOrd for PgIdentifierStyle
impl Copy for PgIdentifierStyle
impl Eq for PgIdentifierStyle
impl StructuralPartialEq for PgIdentifierStyle
Auto Trait Implementations§
impl Freeze for PgIdentifierStyle
impl RefUnwindSafe for PgIdentifierStyle
impl Send for PgIdentifierStyle
impl Sync for PgIdentifierStyle
impl Unpin for PgIdentifierStyle
impl UnsafeUnpin for PgIdentifierStyle
impl UnwindSafe for PgIdentifierStyle
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