pub struct Options {
pub increment: i64,
pub min: i64,
pub max: i64,
pub start: i64,
pub cycle: bool,
}Expand description
What a CREATE SEQUENCE settled, with every default already filled in.
Fields§
§increment: i64Added to the counter by every nextval, and never zero.
min: i64The smallest value the sequence hands out.
max: i64The largest value the sequence hands out.
start: i64The first value handed out.
cycle: boolWhether running past one end starts again from the other rather than failing.
Trait Implementations§
impl Copy for Options
impl Eq for Options
impl StructuralPartialEq for Options
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnsafeUnpin for Options
impl UnwindSafe for Options
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