pub struct DirectoryHintShardEntry {
pub hint_shard_index: u64,
pub first_dir_hash: [u8; 8],
pub last_dir_hash: [u8; 8],
pub first_block_index: u64,
pub data_block_count: u32,
pub parity_block_count: u32,
pub encrypted_size: u32,
pub decompressed_size: u32,
pub entry_count: u64,
}Fields§
§hint_shard_index: u64§first_dir_hash: [u8; 8]§last_dir_hash: [u8; 8]§first_block_index: u64§data_block_count: u32§parity_block_count: u32§encrypted_size: u32§decompressed_size: u32§entry_count: u64Implementations§
Trait Implementations§
Source§impl Clone for DirectoryHintShardEntry
impl Clone for DirectoryHintShardEntry
Source§fn clone(&self) -> DirectoryHintShardEntry
fn clone(&self) -> DirectoryHintShardEntry
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 moreSource§impl Debug for DirectoryHintShardEntry
impl Debug for DirectoryHintShardEntry
Source§impl PartialEq for DirectoryHintShardEntry
impl PartialEq for DirectoryHintShardEntry
Source§fn eq(&self, other: &DirectoryHintShardEntry) -> bool
fn eq(&self, other: &DirectoryHintShardEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for DirectoryHintShardEntry
impl StructuralPartialEq for DirectoryHintShardEntry
Auto Trait Implementations§
impl Freeze for DirectoryHintShardEntry
impl RefUnwindSafe for DirectoryHintShardEntry
impl Send for DirectoryHintShardEntry
impl Sync for DirectoryHintShardEntry
impl Unpin for DirectoryHintShardEntry
impl UnsafeUnpin for DirectoryHintShardEntry
impl UnwindSafe for DirectoryHintShardEntry
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