pub enum RemoveTarget {
Table(Spanned<String>),
Field {
field: Spanned<Idiom>,
table: Spanned<String>,
},
Index {
index: Spanned<String>,
table: Spanned<String>,
},
Other(PartialNode),
}Expand description
What a REMOVE statement drops.
Variants§
Table(Spanned<String>)
REMOVE TABLE <name>.
Field
REMOVE FIELD <field> ON <table>.
Fields
Index
REMOVE INDEX <index> ON <table>.
Fields
Other(PartialNode)
An unmodeled REMOVE target.
Trait Implementations§
Source§impl Clone for RemoveTarget
impl Clone for RemoveTarget
Source§fn clone(&self) -> RemoveTarget
fn clone(&self) -> RemoveTarget
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 RemoveTarget
impl Debug for RemoveTarget
Source§impl PartialEq for RemoveTarget
impl PartialEq for RemoveTarget
impl StructuralPartialEq for RemoveTarget
Auto Trait Implementations§
impl Freeze for RemoveTarget
impl RefUnwindSafe for RemoveTarget
impl Send for RemoveTarget
impl Sync for RemoveTarget
impl Unpin for RemoveTarget
impl UnsafeUnpin for RemoveTarget
impl UnwindSafe for RemoveTarget
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