pub struct PgSequence {
pub seqrelid: SmolStr,
pub seqtypid: SmolStr,
pub seqstart: i64,
pub seqincrement: i64,
pub seqmax: i64,
pub seqmin: i64,
pub seqcache: i64,
pub seqcycle: bool,
}Expand description
The DDL-only contents of pg_sequence
Fields§
§seqrelid: SmolStroid (references pg_class.oid) The OID of the pg_class entry for this sequence
seqtypid: SmolStroid (references pg_type.oid) Data type of the sequence
seqstart: i64int8 Start value of the sequence
seqincrement: i64int8 Increment value of the sequence
seqmax: i64int8 Maximum value of the sequence
seqmin: i64int8 Minimum value of the sequence
seqcache: i64int8 Cache size of the sequence
seqcycle: boolbool Whether the sequence cycles
Trait Implementations§
Source§impl Clone for PgSequence
impl Clone for PgSequence
Source§fn clone(&self) -> PgSequence
fn clone(&self) -> PgSequence
Returns a duplicate of the value. Read more
1.0.0 · 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 PgSequence
impl Debug for PgSequence
Source§impl<'de> Deserialize<'de> for PgSequence
impl<'de> Deserialize<'de> for PgSequence
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PgSequence, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PgSequence, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PgSequence
impl PartialEq for PgSequence
Source§impl Serialize for PgSequence
impl Serialize for PgSequence
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for PgSequence
impl StructuralPartialEq for PgSequence
Auto Trait Implementations§
impl Freeze for PgSequence
impl RefUnwindSafe for PgSequence
impl Send for PgSequence
impl Sync for PgSequence
impl Unpin for PgSequence
impl UnsafeUnpin for PgSequence
impl UnwindSafe for PgSequence
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.