pub struct Extension;
Available on crate feature
backend-postgres
only.Expand description
Creates a new “CREATE or DROP EXTENSION” statement for PostgreSQL
§Exampl
Implementations§
source§impl Extension
impl Extension
sourcepub fn create() -> ExtensionCreateStatement
pub fn create() -> ExtensionCreateStatement
Creates a new ExtensionCreateStatement
sourcepub fn drop() -> ExtensionDropStatement
pub fn drop() -> ExtensionDropStatement
Creates a new ExtensionDropStatement
Trait Implementations§
impl Eq for Extension
impl StructuralPartialEq for Extension
Auto Trait Implementations§
impl Freeze for Extension
impl RefUnwindSafe for Extension
impl Send for Extension
impl Sync for Extension
impl Unpin for Extension
impl UnwindSafe for Extension
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)