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 CandidType for SchemaRemoval
impl CandidType for SchemaRemoval
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
Source§impl<'de> Deserialize<'de> for SchemaRemoval
impl<'de> Deserialize<'de> for SchemaRemoval
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 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
Source§impl Serialize for SchemaRemoval
impl Serialize 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