pub struct Sequence {
pub name: String,
pub data_type: Option<String>,
pub start: Option<i64>,
pub increment: Option<i64>,
pub min_value: Option<i64>,
pub max_value: Option<i64>,
pub cache: Option<i64>,
pub cycle: bool,
pub owned_by: Option<String>,
}Expand description
Standalone sequence (CREATE SEQUENCE)
Fields§
§name: StringSequence name.
data_type: Option<String>Data type (e.g. "bigint").
start: Option<i64>START WITH value.
increment: Option<i64>INCREMENT BY value.
min_value: Option<i64>Minimum value for the sequence (MINVALUE clause).
max_value: Option<i64>Maximum value for the sequence (MAXVALUE clause).
cache: Option<i64>CACHE size.
cycle: boolWhether the sequence wraps around.
owned_by: Option<String>OWNED BY column reference.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Sequence
Auto Trait Implementations§
impl Freeze for Sequence
impl RefUnwindSafe for Sequence
impl Send for Sequence
impl Sync for Sequence
impl Unpin for Sequence
impl UnsafeUnpin for Sequence
impl UnwindSafe for Sequence
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