Enum sqlparser::ast::SchemaName
source · [−]pub enum SchemaName {
Simple(ObjectName),
UnnamedAuthorization(Ident),
NamedAuthorization(ObjectName, Ident),
}
Expand description
Schema possible naming variants (1).
Variants
Simple(ObjectName)
Only schema name specified: <schema name>
.
UnnamedAuthorization(Ident)
Only authorization identifier specified: AUTHORIZATION <schema authorization identifier>
.
NamedAuthorization(ObjectName, Ident)
Both schema name and authorization identifier specified: <schema name> AUTHORIZATION <schema authorization identifier>
.
Trait Implementations
sourceimpl Clone for SchemaName
impl Clone for SchemaName
sourcefn clone(&self) -> SchemaName
fn clone(&self) -> SchemaName
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SchemaName
impl Debug for SchemaName
sourceimpl Display for SchemaName
impl Display for SchemaName
sourceimpl Hash for SchemaName
impl Hash for SchemaName
sourceimpl PartialEq<SchemaName> for SchemaName
impl PartialEq<SchemaName> for SchemaName
sourcefn eq(&self, other: &SchemaName) -> bool
fn eq(&self, other: &SchemaName) -> bool
impl Eq for SchemaName
impl StructuralEq for SchemaName
impl StructuralPartialEq for SchemaName
Auto Trait Implementations
impl RefUnwindSafe for SchemaName
impl Send for SchemaName
impl Sync for SchemaName
impl Unpin for SchemaName
impl UnwindSafe for SchemaName
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more