pub struct CreateSchema {
pub name: Identifier,
pub if_not_exists: bool,
pub authorization: Option<Identifier>,
pub clone_from: Option<Identifier>,
pub at_clause: Option<Expression>,
pub properties: Vec<Expression>,
pub leading_comments: Vec<String>,
}Expand description
CREATE SCHEMA statement
Fields§
§name: Identifier§if_not_exists: bool§clone_from: Option<Identifier>§at_clause: Option<Expression>AT/BEFORE clause for time travel (Snowflake)
properties: Vec<Expression>Schema properties like DEFAULT COLLATE
leading_comments: Vec<String>Leading comments before the statement
Implementations§
Trait Implementations§
Source§impl Clone for CreateSchema
impl Clone for CreateSchema
Source§fn clone(&self) -> CreateSchema
fn clone(&self) -> CreateSchema
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 CreateSchema
impl Debug for CreateSchema
Source§impl<'de> Deserialize<'de> for CreateSchema
impl<'de> Deserialize<'de> for CreateSchema
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 CreateSchema
impl PartialEq for CreateSchema
Source§impl Serialize for CreateSchema
impl Serialize for CreateSchema
impl StructuralPartialEq for CreateSchema
Auto Trait Implementations§
impl Freeze for CreateSchema
impl RefUnwindSafe for CreateSchema
impl Send for CreateSchema
impl Sync for CreateSchema
impl Unpin for CreateSchema
impl UnwindSafe for CreateSchema
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