pub struct DatabaseIdentity {
pub database_id: [u8; 16],
pub primary_generation: u64,
}Fields§
§database_id: [u8; 16]§primary_generation: u64Implementations§
Source§impl DatabaseIdentity
impl DatabaseIdentity
pub fn segment_identity(self) -> SegmentIdentity
Trait Implementations§
Source§impl Clone for DatabaseIdentity
impl Clone for DatabaseIdentity
Source§fn clone(&self) -> DatabaseIdentity
fn clone(&self) -> DatabaseIdentity
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 DatabaseIdentity
Source§impl Debug for DatabaseIdentity
impl Debug for DatabaseIdentity
impl Eq for DatabaseIdentity
Source§impl PartialEq for DatabaseIdentity
impl PartialEq for DatabaseIdentity
impl StructuralPartialEq for DatabaseIdentity
Auto Trait Implementations§
impl Freeze for DatabaseIdentity
impl RefUnwindSafe for DatabaseIdentity
impl Send for DatabaseIdentity
impl Sync for DatabaseIdentity
impl Unpin for DatabaseIdentity
impl UnsafeUnpin for DatabaseIdentity
impl UnwindSafe for DatabaseIdentity
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