Enum sql_ddl::postgres::PostgresIdentifier
source · pub enum PostgresIdentifier<'a> {
Simple(Cow<'a, str>),
WithSchema(Cow<'a, str>, Cow<'a, str>),
}
Variants§
Simple(Cow<'a, str>)
Simple identifier without a schema(namespace).
WithSchema(Cow<'a, str>, Cow<'a, str>)
Identifier with a schema(namespace). The first field is the schema.
Implementations§
Trait Implementations§
source§impl<'a> Debug for PostgresIdentifier<'a>
impl<'a> Debug for PostgresIdentifier<'a>
source§impl Default for PostgresIdentifier<'_>
impl Default for PostgresIdentifier<'_>
source§impl Display for PostgresIdentifier<'_>
impl Display for PostgresIdentifier<'_>
source§impl<'a> From<&'a str> for PostgresIdentifier<'a>
impl<'a> From<&'a str> for PostgresIdentifier<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for PostgresIdentifier<'a>
impl<'a> Send for PostgresIdentifier<'a>
impl<'a> Sync for PostgresIdentifier<'a>
impl<'a> Unpin for PostgresIdentifier<'a>
impl<'a> UnwindSafe for PostgresIdentifier<'a>
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