pub struct CreateField {
pub name: String,
pub type_name: String,
pub required: bool,
pub unique: bool,
}Expand description
A column definition carried by PlanNode::CreateTable. Replaces the
old (name, type_name, required) tuple so the unique modifier can
flow from the parser through to the executor’s DDL arm.
Fields§
§name: String§type_name: String§required: bool§unique: boolTrait Implementations§
Source§impl Clone for CreateField
impl Clone for CreateField
Source§fn clone(&self) -> CreateField
fn clone(&self) -> CreateField
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CreateField
impl RefUnwindSafe for CreateField
impl Send for CreateField
impl Sync for CreateField
impl Unpin for CreateField
impl UnsafeUnpin for CreateField
impl UnwindSafe for CreateField
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