pub struct RawSequenceInfo {
pub schema: String,
pub name: String,
pub data_type: Option<String>,
pub start_value: Option<String>,
pub min_value: Option<String>,
pub max_value: Option<String>,
pub increment: Option<String>,
pub cycle: Option<bool>,
pub cache_value: Option<String>,
pub owned_by: Option<String>,
}Available on crate feature
std only.Expand description
Raw sequence info
Value columns are Option because pg_sequences returns NULL when the
current user lacks privilege on the sequence.
Fields§
§schema: String§name: String§data_type: Option<String>§start_value: Option<String>§min_value: Option<String>§max_value: Option<String>§increment: Option<String>§cycle: Option<bool>§cache_value: Option<String>§owned_by: Option<String>schema.table of the owning column when pg_depend records this
sequence as auto-owned (serial or identity, deptype a/i);
None for standalone, hand-managed sequences.
Trait Implementations§
Source§impl Clone for RawSequenceInfo
impl Clone for RawSequenceInfo
Source§fn clone(&self) -> RawSequenceInfo
fn clone(&self) -> RawSequenceInfo
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 moreAuto Trait Implementations§
impl Freeze for RawSequenceInfo
impl RefUnwindSafe for RawSequenceInfo
impl Send for RawSequenceInfo
impl Sync for RawSequenceInfo
impl Unpin for RawSequenceInfo
impl UnsafeUnpin for RawSequenceInfo
impl UnwindSafe for RawSequenceInfo
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