pub enum NamedObjectKind {
Sequence,
Database,
Schema,
Domain,
Type,
Language,
Tablespace,
ForeignDataWrapper,
ForeignServer,
}Expand description
The SQL named object kind forms represented by the AST.
Variants§
Sequence
SEQUENCE object.
Database
DATABASE object.
Schema
SCHEMA object.
Domain
DOMAIN object.
Type
TYPE object.
Language
LANGUAGE object.
Tablespace
TABLESPACE object.
ForeignDataWrapper
FOREIGN DATA WRAPPER object.
ForeignServer
FOREIGN SERVER object.
Trait Implementations§
Source§impl Clone for NamedObjectKind
impl Clone for NamedObjectKind
Source§fn clone(&self) -> NamedObjectKind
fn clone(&self) -> NamedObjectKind
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 NamedObjectKind
Source§impl Debug for NamedObjectKind
impl Debug for NamedObjectKind
Source§impl<'de> Deserialize<'de> for NamedObjectKind
impl<'de> Deserialize<'de> for NamedObjectKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for NamedObjectKind
Source§impl Hash for NamedObjectKind
impl Hash for NamedObjectKind
Source§impl PartialEq for NamedObjectKind
impl PartialEq for NamedObjectKind
Source§impl Render for NamedObjectKind
impl Render for NamedObjectKind
Source§fn render(&self, _ctx: &RenderCtx<'_>, f: &mut Formatter<'_>) -> Result
fn render(&self, _ctx: &RenderCtx<'_>, f: &mut Formatter<'_>) -> Result
Return the render for this value.
Source§fn operand_binding_power(&self) -> Option<BindingPower>
fn operand_binding_power(&self) -> Option<BindingPower>
The binding power this node contributes when it appears as an operand, or
None (the default) for a self-delimiting node — an atom, call, or
constructor — that never needs parentheses. Read moreSource§impl Serialize for NamedObjectKind
impl Serialize for NamedObjectKind
impl StructuralPartialEq for NamedObjectKind
Auto Trait Implementations§
impl Freeze for NamedObjectKind
impl RefUnwindSafe for NamedObjectKind
impl Send for NamedObjectKind
impl Sync for NamedObjectKind
impl Unpin for NamedObjectKind
impl UnsafeUnpin for NamedObjectKind
impl UnwindSafe for NamedObjectKind
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