pub enum SchemaObject {
Table(TableName),
Collection(CollectionName),
Index(IndexName),
Constraint(ConstraintName),
Other(String),
}Expand description
Objects that may be described as members of a schema-like namespace.
Variants§
Table(TableName)
A table object.
Collection(CollectionName)
A collection object.
Index(IndexName)
An index object.
Constraint(ConstraintName)
A constraint object.
Other(String)
An engine-neutral label for another object kind.
Trait Implementations§
Source§impl Clone for SchemaObject
impl Clone for SchemaObject
Source§fn clone(&self) -> SchemaObject
fn clone(&self) -> SchemaObject
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 SchemaObject
impl Debug for SchemaObject
Source§impl Hash for SchemaObject
impl Hash for SchemaObject
Source§impl Ord for SchemaObject
impl Ord for SchemaObject
Source§fn cmp(&self, other: &SchemaObject) -> Ordering
fn cmp(&self, other: &SchemaObject) -> 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 SchemaObject
impl PartialEq for SchemaObject
Source§fn eq(&self, other: &SchemaObject) -> bool
fn eq(&self, other: &SchemaObject) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SchemaObject
impl PartialOrd for SchemaObject
impl Eq for SchemaObject
impl StructuralPartialEq for SchemaObject
Auto Trait Implementations§
impl Freeze for SchemaObject
impl RefUnwindSafe for SchemaObject
impl Send for SchemaObject
impl Sync for SchemaObject
impl Unpin for SchemaObject
impl UnsafeUnpin for SchemaObject
impl UnwindSafe for SchemaObject
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