pub struct BocHeaderStats {
pub offset_size: usize,
pub ref_size: usize,
pub total_cells_size: u64,
pub total_size: u64,
}Expand description
An info about the encoded BOC.
Fields§
§offset_size: usizeSize of the offset numbers in bytes.
ref_size: usizeSize of the reference indices in bytes.
total_cells_size: u64The total size of cells part in the resulting BOC.
NOTE: Use total_size for the full BOC size.
total_size: u64Total size of the encoded BOC in bytes.
Trait Implementations§
Source§impl Clone for BocHeaderStats
impl Clone for BocHeaderStats
Source§fn clone(&self) -> BocHeaderStats
fn clone(&self) -> BocHeaderStats
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BocHeaderStats
Auto Trait Implementations§
impl Freeze for BocHeaderStats
impl RefUnwindSafe for BocHeaderStats
impl Send for BocHeaderStats
impl Sync for BocHeaderStats
impl Unpin for BocHeaderStats
impl UnwindSafe for BocHeaderStats
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