pub struct DeclaredSequence {
pub definition: SequenceDefinition,
pub current: i64,
}Expand description
A new sequence’s definition, with the value its first nextval returns.
Fields§
§definition: SequenceDefinition§current: i64The value the first nextval returns: the start, or the value RESTART gives.
Trait Implementations§
Source§impl Clone for DeclaredSequence
impl Clone for DeclaredSequence
impl Copy for DeclaredSequence
Source§impl Debug for DeclaredSequence
impl Debug for DeclaredSequence
impl Eq for DeclaredSequence
Source§impl PartialEq for DeclaredSequence
impl PartialEq for DeclaredSequence
impl StructuralPartialEq for DeclaredSequence
Auto Trait Implementations§
impl Freeze for DeclaredSequence
impl RefUnwindSafe for DeclaredSequence
impl Send for DeclaredSequence
impl Sync for DeclaredSequence
impl Unpin for DeclaredSequence
impl UnsafeUnpin for DeclaredSequence
impl UnwindSafe for DeclaredSequence
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more