Struct cql3_parser::create_keyspace::CreateKeyspace
source · [−]pub struct CreateKeyspace {
pub name: Identifier,
pub replication: Vec<(String, String)>,
pub durable_writes: Option<bool>,
pub if_not_exists: bool,
}Expand description
The data necessary to create a keyspace.
Fields
name: Identifierthe name of the keyspace
replication: Vec<(String, String)>replication strategy options.
durable_writes: Option<bool>if specified the DURABLE WRITES option will be output.
if_not_exists: boolonly create if the keyspace does not exist.
Trait Implementations
sourceimpl Clone for CreateKeyspace
impl Clone for CreateKeyspace
sourcefn clone(&self) -> CreateKeyspace
fn clone(&self) -> CreateKeyspace
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for CreateKeyspace
impl Debug for CreateKeyspace
sourceimpl Display for CreateKeyspace
impl Display for CreateKeyspace
sourceimpl PartialEq<CreateKeyspace> for CreateKeyspace
impl PartialEq<CreateKeyspace> for CreateKeyspace
sourcefn eq(&self, other: &CreateKeyspace) -> bool
fn eq(&self, other: &CreateKeyspace) -> bool
impl StructuralPartialEq for CreateKeyspace
Auto Trait Implementations
impl RefUnwindSafe for CreateKeyspace
impl Send for CreateKeyspace
impl Sync for CreateKeyspace
impl Unpin for CreateKeyspace
impl UnwindSafe for CreateKeyspace
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more