pub struct CreateTable {
pub name: String,
pub columns: Vec<ColumnDef>,
pub unique_constraints: Vec<Vec<String>>,
pub if_not_exists: bool,
pub immutable: bool,
pub state_machine: Option<StateMachineDef>,
pub dag_edge_types: Vec<String>,
pub propagation_rules: Vec<AstPropagationRule>,
pub retain: Option<RetainOption>,
}Fields§
§name: String§columns: Vec<ColumnDef>§unique_constraints: Vec<Vec<String>>§if_not_exists: bool§immutable: bool§state_machine: Option<StateMachineDef>§dag_edge_types: Vec<String>§propagation_rules: Vec<AstPropagationRule>§retain: Option<RetainOption>Trait Implementations§
Source§impl Clone for CreateTable
impl Clone for CreateTable
Source§fn clone(&self) -> CreateTable
fn clone(&self) -> CreateTable
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 moreAuto Trait Implementations§
impl Freeze for CreateTable
impl RefUnwindSafe for CreateTable
impl Send for CreateTable
impl Sync for CreateTable
impl Unpin for CreateTable
impl UnsafeUnpin for CreateTable
impl UnwindSafe for CreateTable
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