Struct cql3_parser::create_type::CreateType
source · [−]pub struct CreateType {
pub not_exists: bool,
pub name: FQName,
pub columns: Vec<ColumnDefinition>,
}Expand description
The data for a CREATE TYPE statement.
Fields
not_exists: boolonly if the type does not exist.
name: FQNamethe name of the type
columns: Vec<ColumnDefinition>the definition of the type.
Trait Implementations
sourceimpl Clone for CreateType
impl Clone for CreateType
sourcefn clone(&self) -> CreateType
fn clone(&self) -> CreateType
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 CreateType
impl Debug for CreateType
sourceimpl Display for CreateType
impl Display for CreateType
sourceimpl PartialEq<CreateType> for CreateType
impl PartialEq<CreateType> for CreateType
sourcefn eq(&self, other: &CreateType) -> bool
fn eq(&self, other: &CreateType) -> bool
impl StructuralPartialEq for CreateType
Auto Trait Implementations
impl RefUnwindSafe for CreateType
impl Send for CreateType
impl Sync for CreateType
impl Unpin for CreateType
impl UnwindSafe for CreateType
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