pub struct Type;
Available on crate feature
backend-postgres
only.Expand description
Helper for constructing any type statement
Implementations§
source§impl Type
impl Type
sourcepub fn create() -> TypeCreateStatement
pub fn create() -> TypeCreateStatement
Construct type TypeCreateStatement
sourcepub fn drop() -> TypeDropStatement
pub fn drop() -> TypeDropStatement
Construct type TypeDropStatement
sourcepub fn alter() -> TypeAlterStatement
pub fn alter() -> TypeAlterStatement
Construct type TypeAlterStatement
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
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