Struct sql_from_models_parser::ast::CreateDatabase
source · pub struct CreateDatabase {
pub db_name: ObjectName,
pub if_not_exists: bool,
pub location: Option<String>,
pub managed_location: Option<String>,
}
Expand description
CREATE DATABASE
Fields§
§db_name: ObjectName
§if_not_exists: bool
§location: Option<String>
§managed_location: Option<String>
Trait Implementations§
source§impl Clone for CreateDatabase
impl Clone for CreateDatabase
source§fn clone(&self) -> CreateDatabase
fn clone(&self) -> CreateDatabase
Returns a copy 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 CreateDatabase
impl Debug for CreateDatabase
source§impl Display for CreateDatabase
impl Display for CreateDatabase
source§impl Hash for CreateDatabase
impl Hash for CreateDatabase
source§impl PartialEq for CreateDatabase
impl PartialEq for CreateDatabase
source§fn eq(&self, other: &CreateDatabase) -> bool
fn eq(&self, other: &CreateDatabase) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CreateDatabase
impl StructuralPartialEq for CreateDatabase
Auto Trait Implementations§
impl RefUnwindSafe for CreateDatabase
impl Send for CreateDatabase
impl Sync for CreateDatabase
impl Unpin for CreateDatabase
impl UnwindSafe for CreateDatabase
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