pub struct DocumentRecord {
pub identity: DocumentCreate,
pub created_at: Seq,
pub retired_at: Option<Seq>,
}Expand description
Persisted lifecycle record of one create-to-retire document incarnation.
Fields§
§identity: DocumentCreate§created_at: SeqCommit that created the incarnation.
retired_at: Option<Seq>Commit that retired the incarnation; absent while it is current.
Implementations§
Source§impl DocumentRecord
impl DocumentRecord
pub fn is_alive_at(&self, at: DocumentPoint) -> bool
Trait Implementations§
Source§impl Clone for DocumentRecord
impl Clone for DocumentRecord
Source§impl Debug for DocumentRecord
impl Debug for DocumentRecord
Source§impl<'de> Deserialize<'de> for DocumentRecord
impl<'de> Deserialize<'de> for DocumentRecord
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
Source§impl PartialEq for DocumentRecord
impl PartialEq for DocumentRecord
Source§impl Serialize for DocumentRecord
impl Serialize for DocumentRecord
impl StructuralPartialEq for DocumentRecord
Auto Trait Implementations§
impl Forget for DocumentRecord
impl Freeze for DocumentRecord
impl Move for DocumentRecord
impl RefUnwindSafe for DocumentRecord
impl Send for DocumentRecord
impl Sync for DocumentRecord
impl Unpin for DocumentRecord
impl UnsafeUnpin for DocumentRecord
impl UnwindSafe for DocumentRecord
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