pub struct CreateServerStatement {
pub name: ObjectName,
pub if_not_exists: bool,
pub server_type: Option<Ident>,
pub version: Option<Ident>,
pub foreign_data_wrapper: ObjectName,
pub options: Option<Vec<CreateServerOption>>,
}Expand description
A CREATE SERVER statement.
Fields§
§name: ObjectName§if_not_exists: bool§server_type: Option<Ident>§version: Option<Ident>§foreign_data_wrapper: ObjectName§options: Option<Vec<CreateServerOption>>Trait Implementations§
Source§impl Clone for CreateServerStatement
impl Clone for CreateServerStatement
Source§fn clone(&self) -> CreateServerStatement
fn clone(&self) -> CreateServerStatement
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 CreateServerStatement
impl Debug for CreateServerStatement
Source§impl<'de> Deserialize<'de> for CreateServerStatement
impl<'de> Deserialize<'de> for CreateServerStatement
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 CreateServerStatement
impl Display for CreateServerStatement
Source§impl From<CreateServerStatement> for Statement
impl From<CreateServerStatement> for Statement
Source§fn from(c: CreateServerStatement) -> Self
fn from(c: CreateServerStatement) -> Self
Converts to this type from the input type.
Source§impl Hash for CreateServerStatement
impl Hash for CreateServerStatement
Source§impl Ord for CreateServerStatement
impl Ord for CreateServerStatement
Source§fn cmp(&self, other: &CreateServerStatement) -> Ordering
fn cmp(&self, other: &CreateServerStatement) -> 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 CreateServerStatement
impl PartialEq for CreateServerStatement
Source§impl PartialOrd for CreateServerStatement
impl PartialOrd for CreateServerStatement
Source§impl Serialize for CreateServerStatement
impl Serialize for CreateServerStatement
Source§impl Visit for CreateServerStatement
impl Visit for CreateServerStatement
Source§impl VisitMut for CreateServerStatement
impl VisitMut for CreateServerStatement
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
impl Eq for CreateServerStatement
impl StructuralPartialEq for CreateServerStatement
Auto Trait Implementations§
impl Freeze for CreateServerStatement
impl RefUnwindSafe for CreateServerStatement
impl Send for CreateServerStatement
impl Sync for CreateServerStatement
impl Unpin for CreateServerStatement
impl UnwindSafe for CreateServerStatement
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