pub struct DatabaseIncarnationId(/* private fields */);Expand description
Durable identity of one database lifecycle.
The identity is independent of accepted schema, row, index, relation, and journal revisions. Ordinary reopen preserves it. Any future restore, replacement, or import lane that can reuse those revisions must mint and publish a fresh identity before the restored database becomes available.
Implementations§
Trait Implementations§
Source§impl CandidType for DatabaseIncarnationId
impl CandidType for DatabaseIncarnationId
Source§impl Clone for DatabaseIncarnationId
impl Clone for DatabaseIncarnationId
Source§fn clone(&self) -> DatabaseIncarnationId
fn clone(&self) -> DatabaseIncarnationId
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 DatabaseIncarnationId
Source§impl Debug for DatabaseIncarnationId
impl Debug for DatabaseIncarnationId
Source§impl<'de> Deserialize<'de> for DatabaseIncarnationId
impl<'de> Deserialize<'de> for DatabaseIncarnationId
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DatabaseIncarnationId
Source§impl Hash for DatabaseIncarnationId
impl Hash for DatabaseIncarnationId
Source§impl PartialEq for DatabaseIncarnationId
impl PartialEq for DatabaseIncarnationId
impl StructuralPartialEq for DatabaseIncarnationId
Auto Trait Implementations§
impl Freeze for DatabaseIncarnationId
impl RefUnwindSafe for DatabaseIncarnationId
impl Send for DatabaseIncarnationId
impl Sync for DatabaseIncarnationId
impl Unpin for DatabaseIncarnationId
impl UnsafeUnpin for DatabaseIncarnationId
impl UnwindSafe for DatabaseIncarnationId
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