pub struct DropType<'a> {
pub drop_type_span: Span,
pub if_exists: Option<Span>,
pub names: Vec<QualifiedName<'a>>,
pub restrict_or_cascade: Option<CascadeOrRestrict>,
}Expand description
DROP TYPE statement (PostgreSQL)
Fields§
§drop_type_span: SpanSpan of “DROP TYPE”
if_exists: Option<Span>Span of “IF EXISTS” if specified
names: Vec<QualifiedName<'a>>List of type names to drop
restrict_or_cascade: Option<CascadeOrRestrict>Span of “CASCADE” or “RESTRICT” if specified
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for DropType<'a>
impl<'a> RefUnwindSafe for DropType<'a>
impl<'a> Send for DropType<'a>
impl<'a> Sync for DropType<'a>
impl<'a> Unpin for DropType<'a>
impl<'a> UnsafeUnpin for DropType<'a>
impl<'a> UnwindSafe for DropType<'a>
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