pub struct SegmentIdentity {
pub database_id: [u8; 16],
pub primary_generation: u64,
pub wal_format_version: u16,
pub catalog_version: u16,
}Expand description
Segment identity metadata used to reject forked or incompatible histories.
Fields§
§database_id: [u8; 16]§primary_generation: u64§wal_format_version: u16§catalog_version: u16Implementations§
Trait Implementations§
Source§impl Clone for SegmentIdentity
impl Clone for SegmentIdentity
Source§fn clone(&self) -> SegmentIdentity
fn clone(&self) -> SegmentIdentity
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 moreimpl Copy for SegmentIdentity
Source§impl Debug for SegmentIdentity
impl Debug for SegmentIdentity
impl Eq for SegmentIdentity
Source§impl PartialEq for SegmentIdentity
impl PartialEq for SegmentIdentity
impl StructuralPartialEq for SegmentIdentity
Auto Trait Implementations§
impl Freeze for SegmentIdentity
impl RefUnwindSafe for SegmentIdentity
impl Send for SegmentIdentity
impl Sync for SegmentIdentity
impl Unpin for SegmentIdentity
impl UnsafeUnpin for SegmentIdentity
impl UnwindSafe for SegmentIdentity
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