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: bool
only if the type does not exist.
name: FQName
the name of the type
columns: Vec<ColumnDefinition>
the definition of the type.
Trait Implementations§
Source§impl Clone for CreateType
impl Clone for CreateType
Source§fn clone(&self) -> CreateType
fn clone(&self) -> CreateType
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 CreateType
impl Debug for CreateType
Source§impl Display for CreateType
impl Display for CreateType
Source§impl PartialEq for CreateType
impl PartialEq for CreateType
impl StructuralPartialEq for CreateType
Auto Trait Implementations§
impl Freeze for CreateType
impl RefUnwindSafe for CreateType
impl Send for CreateType
impl Sync for CreateType
impl Unpin for CreateType
impl UnwindSafe for CreateType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more