pub struct DropType<'a> {
pub type_name: PostgresIdentifier<'a>,
}
Expand description
Render a DROP TYPE
statement.
let drop_type = DropType { type_name: "CatMood".into() };
assert_eq!(drop_type.to_string(), r#"DROP TYPE "CatMood""#);
Fields§
§type_name: PostgresIdentifier<'a>
The name of the type to be dropped.
Trait Implementations§
Auto Trait Implementations§
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> 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