pub struct CreateUserDefinedTypeStatement {
pub if_not_exists: bool,
pub name: KeyspaceQualifiedName,
pub fields: Vec<FieldDefinition>,
}
Fields§
§if_not_exists: bool
§name: KeyspaceQualifiedName
§fields: Vec<FieldDefinition>
Trait Implementations§
Source§impl Clone for CreateUserDefinedTypeStatement
impl Clone for CreateUserDefinedTypeStatement
Source§fn clone(&self) -> CreateUserDefinedTypeStatement
fn clone(&self) -> CreateUserDefinedTypeStatement
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> CustomToTokens<'a> for CreateUserDefinedTypeStatement
impl<'a> CustomToTokens<'a> for CreateUserDefinedTypeStatement
Source§impl From<CreateUserDefinedTypeStatement> for Statement
impl From<CreateUserDefinedTypeStatement> for Statement
Source§fn from(v: CreateUserDefinedTypeStatement) -> Self
fn from(v: CreateUserDefinedTypeStatement) -> Self
Converts to this type from the input type.
Source§impl From<CreateUserDefinedTypeStatement> for UserDefinedTypeStatement
impl From<CreateUserDefinedTypeStatement> for UserDefinedTypeStatement
Source§fn from(original: CreateUserDefinedTypeStatement) -> UserDefinedTypeStatement
fn from(original: CreateUserDefinedTypeStatement) -> UserDefinedTypeStatement
Converts to this type from the input type.
Source§impl Parse for CreateUserDefinedTypeStatement
impl Parse for CreateUserDefinedTypeStatement
type Output = CreateUserDefinedTypeStatement
fn parse(s: &mut StatementStream<'_>) -> Result<Self::Output>
Source§impl PartialEq for CreateUserDefinedTypeStatement
impl PartialEq for CreateUserDefinedTypeStatement
Source§fn eq(&self, other: &CreateUserDefinedTypeStatement) -> bool
fn eq(&self, other: &CreateUserDefinedTypeStatement) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl ToTokens for CreateUserDefinedTypeStatement
impl ToTokens for CreateUserDefinedTypeStatement
Source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Source§fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
impl Eq for CreateUserDefinedTypeStatement
impl StructuralPartialEq for CreateUserDefinedTypeStatement
Auto Trait Implementations§
impl Freeze for CreateUserDefinedTypeStatement
impl RefUnwindSafe for CreateUserDefinedTypeStatement
impl Send for CreateUserDefinedTypeStatement
impl Sync for CreateUserDefinedTypeStatement
impl Unpin for CreateUserDefinedTypeStatement
impl UnwindSafe for CreateUserDefinedTypeStatement
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