pub struct TreeDeltaHeader {
pub anchor: ContentHash,
pub result_count: usize,
pub op_count: usize,
pub first_op_count: usize,
pub first_base_count: usize,
pub first_end: usize,
pub hundred_op_count: usize,
pub hundred_base_count: usize,
pub hundred_end: usize,
}Expand description
Parsed HDC1 header, including its bounded first-entry and first-100 porch.
Fields§
§anchor: ContentHash§result_count: usize§op_count: usize§first_op_count: usize§first_base_count: usize§first_end: usize§hundred_op_count: usize§hundred_base_count: usize§hundred_end: usizeTrait Implementations§
Source§impl Clone for TreeDeltaHeader
impl Clone for TreeDeltaHeader
Source§fn clone(&self) -> TreeDeltaHeader
fn clone(&self) -> TreeDeltaHeader
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 moreimpl Copy for TreeDeltaHeader
Source§impl Debug for TreeDeltaHeader
impl Debug for TreeDeltaHeader
impl Eq for TreeDeltaHeader
Source§impl PartialEq for TreeDeltaHeader
impl PartialEq for TreeDeltaHeader
impl StructuralPartialEq for TreeDeltaHeader
Auto Trait Implementations§
impl Freeze for TreeDeltaHeader
impl RefUnwindSafe for TreeDeltaHeader
impl Send for TreeDeltaHeader
impl Sync for TreeDeltaHeader
impl Unpin for TreeDeltaHeader
impl UnsafeUnpin for TreeDeltaHeader
impl UnwindSafe for TreeDeltaHeader
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