pub enum SchemaRemoval {
Entity(EntitySourceKey),
Field {
entity: EntitySourceKey,
field: FieldSourceKey,
},
Type(TypeSourceKey),
Constraint {
entity: EntitySourceKey,
constraint: ConstraintSourceKey,
},
Index {
entity: EntitySourceKey,
index: IndexSourceKey,
},
Relation {
entity: EntitySourceKey,
relation: RelationSourceKey,
},
}Expand description
Explicit hard-cut removal operation.
Variants§
Entity(EntitySourceKey)
Remove an entity.
Field
Remove one field from an entity.
Type(TypeSourceKey)
Remove a named type.
Constraint
Remove one accepted constraint.
Index
Remove one index.
Relation
Remove one relation.
Trait Implementations§
Source§impl Clone for SchemaRemoval
impl Clone for SchemaRemoval
Source§fn clone(&self) -> SchemaRemoval
fn clone(&self) -> SchemaRemoval
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 SchemaRemoval
impl Debug for SchemaRemoval
impl Eq for SchemaRemoval
Source§impl Hash for SchemaRemoval
impl Hash for SchemaRemoval
Source§impl Ord for SchemaRemoval
impl Ord for SchemaRemoval
Source§fn cmp(&self, other: &SchemaRemoval) -> Ordering
fn cmp(&self, other: &SchemaRemoval) -> 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 SchemaRemoval
impl PartialEq for SchemaRemoval
Source§impl PartialOrd for SchemaRemoval
impl PartialOrd for SchemaRemoval
impl StructuralPartialEq for SchemaRemoval
Auto Trait Implementations§
impl Freeze for SchemaRemoval
impl RefUnwindSafe for SchemaRemoval
impl Send for SchemaRemoval
impl Sync for SchemaRemoval
impl Unpin for SchemaRemoval
impl UnsafeUnpin for SchemaRemoval
impl UnwindSafe for SchemaRemoval
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.