pub struct Lsn(pub u64);Expand description
PostgreSQL Log Sequence Number.
Tuple Fields§
§0: u64Trait Implementations§
impl Copy for Lsn
impl Eq for Lsn
Source§impl<'a> FromSqlBase<'a> for Lsn
impl<'a> FromSqlBase<'a> for Lsn
fn accepts_postgres_type(oid: i32) -> bool
fn accepts(field: &FieldDescription) -> bool
Source§fn accepts_with_registry(
field: &FieldDescription,
_registry: &EnumTypeRegistry,
) -> bool
fn accepts_with_registry( field: &FieldDescription, _registry: &EnumTypeRegistry, ) -> bool
Extended accepts check with access to the enum type registry.
Override for enum types and collections of enums.
Default delegates to the static
accepts check.fn from_null(field: &FieldDescription) -> Result<Self, ElefantClientError>
Source§impl<'a> FromSqlText<'a> for Lsn
impl<'a> FromSqlText<'a> for Lsn
fn from_sql_text( raw: &'a str, _field: &FieldDescription, ) -> Result<Self, Box<dyn Error + Sync + Send>>
Source§impl Ord for Lsn
impl Ord for Lsn
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Lsn
impl PartialOrd for Lsn
impl StructuralPartialEq for Lsn
Auto Trait Implementations§
impl Freeze for Lsn
impl RefUnwindSafe for Lsn
impl Send for Lsn
impl Sync for Lsn
impl Unpin for Lsn
impl UnsafeUnpin for Lsn
impl UnwindSafe for Lsn
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