pub struct PageDigest {
pub page_id: PageId,
pub page_type: PageType,
pub merkle_hash: MerkleHash,
pub children: Vec<PageId>,
}Expand description
Digest of a single page — hash, type, and children.
Fields§
§page_id: PageId§page_type: PageType§merkle_hash: MerkleHash§children: Vec<PageId>Child page IDs for branch pages. Empty for leaves.
Trait Implementations§
Source§impl Clone for PageDigest
impl Clone for PageDigest
Source§fn clone(&self) -> PageDigest
fn clone(&self) -> PageDigest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PageDigest
impl RefUnwindSafe for PageDigest
impl Send for PageDigest
impl Sync for PageDigest
impl Unpin for PageDigest
impl UnsafeUnpin for PageDigest
impl UnwindSafe for PageDigest
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