pub struct CompactionProjectionId { /* private fields */ }Expand description
Durable identity of the semantic-memory projection paired with one authoritative compaction transcript rewrite.
The identity is derived from the exact crate::TranscriptRewriteCommit
rather than a turn counter, wall clock, or locally minted batch id. That
makes stage/finalize/recovery idempotent across cancellation and process
loss while keeping the transcript rewrite as the semantic owner.
Implementations§
Source§impl CompactionProjectionId
impl CompactionProjectionId
pub fn session_id(&self) -> &SessionId
pub fn parent_revision(&self) -> &str
pub fn revision(&self) -> &str
pub fn commit_fingerprint(&self) -> &str
Trait Implementations§
Source§impl Clone for CompactionProjectionId
impl Clone for CompactionProjectionId
Source§fn clone(&self) -> CompactionProjectionId
fn clone(&self) -> CompactionProjectionId
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 moreSource§impl Debug for CompactionProjectionId
impl Debug for CompactionProjectionId
Source§impl<'de> Deserialize<'de> for CompactionProjectionId
impl<'de> Deserialize<'de> for CompactionProjectionId
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 CompactionProjectionId
Source§impl Hash for CompactionProjectionId
impl Hash for CompactionProjectionId
Source§impl PartialEq for CompactionProjectionId
impl PartialEq for CompactionProjectionId
Source§impl Serialize for CompactionProjectionId
impl Serialize for CompactionProjectionId
impl StructuralPartialEq for CompactionProjectionId
Auto Trait Implementations§
impl Freeze for CompactionProjectionId
impl RefUnwindSafe for CompactionProjectionId
impl Send for CompactionProjectionId
impl Sync for CompactionProjectionId
impl Unpin for CompactionProjectionId
impl UnsafeUnpin for CompactionProjectionId
impl UnwindSafe for CompactionProjectionId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.