pub struct MemoryId(/* private fields */);Expand description
A unique, content-based identifier for a MemoryEntry.
It is derived from a blake3 hash of the entry’s content and creation timestamp, ensuring that each memory entry has a stable and unique ID.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MemoryId
impl<'de> Deserialize<'de> for MemoryId
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 MemoryId
impl StructuralPartialEq for MemoryId
Auto Trait Implementations§
impl Freeze for MemoryId
impl RefUnwindSafe for MemoryId
impl Send for MemoryId
impl Sync for MemoryId
impl Unpin for MemoryId
impl UnsafeUnpin for MemoryId
impl UnwindSafe for MemoryId
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