pub struct EntryRef {
pub parent: Hash,
pub key: String,
pub hash: Hash,
}
Expand description
A reference triplet to an Entry
, containing the hash of the entry’s parent document, the
key string for the entry, and the hash of the entry itself. Note that the entry hash is still
formed in a way the includes the parent & key, so changing either means the entry hash would
also change.
Fields§
§parent: Hash
Hash of the parent document
key: String
Key for the entry
hash: Hash
Hash of the entry itself
Trait Implementations§
Source§impl Ord for EntryRef
impl Ord for EntryRef
Source§impl PartialOrd for EntryRef
impl PartialOrd for EntryRef
impl Eq for EntryRef
impl StructuralPartialEq for EntryRef
Auto Trait Implementations§
impl Freeze for EntryRef
impl RefUnwindSafe for EntryRef
impl Send for EntryRef
impl Sync for EntryRef
impl Unpin for EntryRef
impl UnwindSafe for EntryRef
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