pub struct Extension {
pub oid: u32,
pub name: String,
pub owner: u32,
pub namespace: u32,
pub relocatable: bool,
pub version: String,
}Expand description
An extension, one row of pg_extension.
Fields§
§oid: u32The OID. Catalog::create_extension sets it.
name: StringThe name.
owner: u32The OID of the owner role.
namespace: u32The OID of the schema of the objects of the extension.
relocatable: boolextrelocatable: true when the objects can move to another schema.
version: Stringextversion: the version.
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 UnsafeUnpin 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