pub struct SequenceRow {
pub relation: RelationIdentity,
pub security: SequenceSecurityRow,
pub object_id: [u8; 16],
pub definition_generation: [u8; 16],
pub start: i64,
pub increment: i64,
pub current: i64,
pub called: bool,
pub log_count: i64,
pub persistence: String,
pub owner: Option<SequenceOwner>,
pub options: SequenceOptions,
}Fields§
§relation: RelationIdentity§security: SequenceSecurityRowCaptured owner and ACL role identities, or a legacy row awaiting initial-open migration.
object_id: [u8; 16]Stable identity of this sequence incarnation. Dropping and recreating the same qualified name must allocate a different value.
definition_generation: [u8; 16]Changes when value-generation options or persistence replace the sequence’s allocation state. Stable across ownership and name changes, value reservations, and setval.
start: i64§increment: i64§current: i64§called: boolFalse until the first allocation returns current verbatim.
log_count: i64Number of values whose advancement is already durable in the sequence log.
persistence: StringPostgreSQL pg_class.relpersistence code. Durable sequence rows accept only permanent (p) and unlogged (u) values.
owner: Option<SequenceOwner>§options: SequenceOptionsTrait Implementations§
Source§impl Clone for SequenceRow
impl Clone for SequenceRow
Source§impl Debug for SequenceRow
impl Debug for SequenceRow
Source§impl<'de> Deserialize<'de> for SequenceRow
impl<'de> Deserialize<'de> for SequenceRow
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
impl Eq for SequenceRow
Source§impl PartialEq for SequenceRow
impl PartialEq for SequenceRow
Source§impl Serialize for SequenceRow
impl Serialize for SequenceRow
impl StructuralPartialEq for SequenceRow
Auto Trait Implementations§
impl Freeze for SequenceRow
impl RefUnwindSafe for SequenceRow
impl Send for SequenceRow
impl Sync for SequenceRow
impl Unpin for SequenceRow
impl UnsafeUnpin for SequenceRow
impl UnwindSafe for SequenceRow
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