pub struct CreateExtension {
pub name: Ident,
pub if_not_exists: bool,
pub cascade: bool,
pub schema: Option<Ident>,
pub version: Option<Ident>,
}Expand description
CREATE EXTENSION statement Note: this is a PostgreSQL-specific statement
Fields§
§name: Ident§if_not_exists: bool§cascade: bool§schema: Option<Ident>§version: Option<Ident>Trait Implementations§
Source§impl Clone for CreateExtension
impl Clone for CreateExtension
Source§fn clone(&self) -> CreateExtension
fn clone(&self) -> CreateExtension
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 CreateExtension
impl Debug for CreateExtension
Source§impl<'de> Deserialize<'de> for CreateExtension
impl<'de> Deserialize<'de> for CreateExtension
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 Display for CreateExtension
impl Display for CreateExtension
Source§impl From<CreateExtension> for Statement
impl From<CreateExtension> for Statement
Source§fn from(ce: CreateExtension) -> Self
fn from(ce: CreateExtension) -> Self
Converts to this type from the input type.
Source§impl Hash for CreateExtension
impl Hash for CreateExtension
Source§impl Ord for CreateExtension
impl Ord for CreateExtension
Source§fn cmp(&self, other: &CreateExtension) -> Ordering
fn cmp(&self, other: &CreateExtension) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CreateExtension
impl PartialEq for CreateExtension
Source§impl PartialOrd for CreateExtension
impl PartialOrd for CreateExtension
Source§impl Serialize for CreateExtension
impl Serialize for CreateExtension
Source§impl Spanned for CreateExtension
impl Spanned for CreateExtension
Source§impl Visit for CreateExtension
impl Visit for CreateExtension
Source§impl VisitMut for CreateExtension
impl VisitMut for CreateExtension
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
impl Eq for CreateExtension
impl StructuralPartialEq for CreateExtension
Auto Trait Implementations§
impl Freeze for CreateExtension
impl RefUnwindSafe for CreateExtension
impl Send for CreateExtension
impl Sync for CreateExtension
impl Unpin for CreateExtension
impl UnwindSafe for CreateExtension
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