pub struct CreateSequenceStatement {
pub name: String,
pub if_not_exists: bool,
pub temporary: bool,
pub data_type: Option<SequenceDataType>,
pub options: SequenceOptions,
}Expand description
v7.17.0 — CREATE SEQUENCE AST node. See Statement::CreateSequence.
Fields§
§name: String§if_not_exists: bool§temporary: bool§data_type: Option<SequenceDataType>Optional AS data_type. Default in PG is BIGINT; SPG matches.
options: SequenceOptionsTrait Implementations§
Source§impl Clone for CreateSequenceStatement
impl Clone for CreateSequenceStatement
Source§fn clone(&self) -> CreateSequenceStatement
fn clone(&self) -> CreateSequenceStatement
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 moreSource§impl Debug for CreateSequenceStatement
impl Debug for CreateSequenceStatement
Source§impl Display for CreateSequenceStatement
impl Display for CreateSequenceStatement
impl Eq for CreateSequenceStatement
Source§impl PartialEq for CreateSequenceStatement
impl PartialEq for CreateSequenceStatement
Source§fn eq(&self, other: &CreateSequenceStatement) -> bool
fn eq(&self, other: &CreateSequenceStatement) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateSequenceStatement
Auto Trait Implementations§
impl Freeze for CreateSequenceStatement
impl RefUnwindSafe for CreateSequenceStatement
impl Send for CreateSequenceStatement
impl Sync for CreateSequenceStatement
impl Unpin for CreateSequenceStatement
impl UnsafeUnpin for CreateSequenceStatement
impl UnwindSafe for CreateSequenceStatement
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