pub struct PgExtension {
pub extname: Str,
pub extowner: Str,
pub extnamespace: Str,
pub extrelocatable: bool,
pub extversion: Str,
pub extconfig: Option<Vec<Str>>,
pub extcondition: Option<Vec<Str>>,
pub description: Option<Str>,
}Expand description
The DDL-only contents of pg_extension
Fields§
§extname: Strname Name of the extension
extowner: Stroid (references pg_authid.oid) Owner of the extension
extnamespace: Stroid (references pg_namespace.oid) Schema containing the extension’s exported objects
extrelocatable: boolbool True if extension can be relocated to another schema
extversion: Strtext Version name for the extension
extconfig: Option<Vec<Str>>oid[] (references pg_class.oid) Array of regclass OIDs for the extension’s configuration table(s), or NULL if none
extcondition: Option<Vec<Str>>text[] Array of WHERE-clause filter conditions for the extension’s configuration table(s), or NULL if none
description: Option<Str>text The comment from pg_description
Trait Implementations§
Source§impl Clone for PgExtension
impl Clone for PgExtension
Source§fn clone(&self) -> PgExtension
fn clone(&self) -> PgExtension
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PgExtension
impl Debug for PgExtension
Source§impl<'de> Deserialize<'de> for PgExtension
impl<'de> Deserialize<'de> for PgExtension
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PgExtension
impl PartialEq for PgExtension
Source§impl Serialize for PgExtension
impl Serialize for PgExtension
impl Eq for PgExtension
impl StructuralPartialEq for PgExtension
Auto Trait Implementations§
impl Freeze for PgExtension
impl RefUnwindSafe for PgExtension
impl Send for PgExtension
impl Sync for PgExtension
impl Unpin for PgExtension
impl UnsafeUnpin for PgExtension
impl UnwindSafe for PgExtension
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.