pub struct CreateSequence {Show 13 fields
pub name: TableRef,
pub if_not_exists: bool,
pub temporary: bool,
pub increment: Option<i64>,
pub minvalue: Option<SequenceBound>,
pub maxvalue: Option<SequenceBound>,
pub start: Option<i64>,
pub cache: Option<i64>,
pub cycle: bool,
pub owned_by: Option<TableRef>,
pub order: Option<bool>,
pub comment: Option<String>,
pub property_order: Vec<SeqPropKind>,
}Expand description
CREATE SEQUENCE statement
Fields§
§name: TableRef§if_not_exists: bool§temporary: bool§increment: Option<i64>§minvalue: Option<SequenceBound>§maxvalue: Option<SequenceBound>§start: Option<i64>§cache: Option<i64>§cycle: bool§owned_by: Option<TableRef>§order: Option<bool>Snowflake: ORDER or NOORDER (true = ORDER, false = NOORDER, None = not specified)
comment: Option<String>Snowflake: COMMENT = ‘value’
property_order: Vec<SeqPropKind>Tracks the order in which properties appeared in the source
Implementations§
Trait Implementations§
Source§impl Clone for CreateSequence
impl Clone for CreateSequence
Source§fn clone(&self) -> CreateSequence
fn clone(&self) -> CreateSequence
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 CreateSequence
impl Debug for CreateSequence
Source§impl<'de> Deserialize<'de> for CreateSequence
impl<'de> Deserialize<'de> for CreateSequence
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CreateSequence
impl PartialEq for CreateSequence
Source§impl Serialize for CreateSequence
impl Serialize for CreateSequence
impl StructuralPartialEq for CreateSequence
Auto Trait Implementations§
impl Freeze for CreateSequence
impl RefUnwindSafe for CreateSequence
impl Send for CreateSequence
impl Sync for CreateSequence
impl Unpin for CreateSequence
impl UnwindSafe for CreateSequence
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