Enum SchemaObject
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§
§impl Clone for SchemaObject
impl Clone for SchemaObject
§fn clone(&self) -> SchemaObject
fn clone(&self) -> SchemaObject
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for SchemaObject
impl Debug for SchemaObject
§impl Hash for SchemaObject
impl Hash for SchemaObject
§impl Ord for SchemaObject
impl Ord for SchemaObject
§impl PartialEq for SchemaObject
impl PartialEq for SchemaObject
§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