pub struct SequenceRow {Show 13 fields
pub relation: RelationIdentity,
pub role_owner: String,
pub acl: Option<Vec<SequenceAclEntry>>,
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§role_owner: StringSQL role that owns the sequence. Legacy catalogs predate roles and therefore belong to the bootstrap role.
acl: Option<Vec<SequenceAclEntry>>Explicit ACL entries. None represents PostgreSQL’s null default ACL, in which the owner has all ordinary privileges.
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 for every successful definition-changing ALTER SEQUENCE while remaining stable across name lifecycle operations, 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§fn clone(&self) -> SequenceRow
fn clone(&self) -> SequenceRow
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 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