pub struct DropView<'a> {
pub view_name: PostgresIdentifier<'a>,
}
Expand description
Render a DROP VIEW
statement.
let drop_view = DropView { view_name: "Cat".into() };
assert_eq!(drop_view.to_string(), r#"DROP VIEW "Cat""#);
Fields§
§view_name: PostgresIdentifier<'a>
The name of the view to be dropped.
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for DropView<'a>
impl<'a> Send for DropView<'a>
impl<'a> Sync for DropView<'a>
impl<'a> Unpin for DropView<'a>
impl<'a> UnwindSafe for DropView<'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