pub struct CriticalMetadataImage {Show 25 fields
pub archive_uuid: [u8; 16],
pub session_id: [u8; 16],
pub volume_index: u32,
pub stripe_width: u32,
pub layout_flags: u32,
pub volume_header_offset: u64,
pub volume_header_length: u32,
pub crypto_header_offset: u64,
pub crypto_header_length: u32,
pub block_records_offset: u64,
pub block_records_length: u64,
pub block_count: u64,
pub manifest_footer_offset: u64,
pub manifest_footer_length: u32,
pub root_auth_footer_offset: u64,
pub root_auth_footer_length: u32,
pub volume_trailer_offset: u64,
pub volume_trailer_length: u32,
pub body_bytes_before_cmra: u64,
pub volume_header_sha256: [u8; 32],
pub crypto_header_sha256: [u8; 32],
pub manifest_footer_sha256: [u8; 32],
pub root_auth_footer_sha256: [u8; 32],
pub volume_trailer_sha256: [u8; 32],
pub regions: Vec<SerializedRegion>,
}Fields§
§archive_uuid: [u8; 16]§session_id: [u8; 16]§volume_index: u32§stripe_width: u32§layout_flags: u32§volume_header_offset: u64§volume_header_length: u32§crypto_header_offset: u64§crypto_header_length: u32§block_records_offset: u64§block_records_length: u64§block_count: u64§volume_trailer_offset: u64§volume_trailer_length: u32§body_bytes_before_cmra: u64§volume_header_sha256: [u8; 32]§crypto_header_sha256: [u8; 32]§volume_trailer_sha256: [u8; 32]§regions: Vec<SerializedRegion>Implementations§
Trait Implementations§
Source§impl Clone for CriticalMetadataImage
impl Clone for CriticalMetadataImage
Source§fn clone(&self) -> CriticalMetadataImage
fn clone(&self) -> CriticalMetadataImage
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 CriticalMetadataImage
impl Debug for CriticalMetadataImage
Source§impl PartialEq for CriticalMetadataImage
impl PartialEq for CriticalMetadataImage
Source§fn eq(&self, other: &CriticalMetadataImage) -> bool
fn eq(&self, other: &CriticalMetadataImage) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CriticalMetadataImage
impl StructuralPartialEq for CriticalMetadataImage
Auto Trait Implementations§
impl Freeze for CriticalMetadataImage
impl RefUnwindSafe for CriticalMetadataImage
impl Send for CriticalMetadataImage
impl Sync for CriticalMetadataImage
impl Unpin for CriticalMetadataImage
impl UnsafeUnpin for CriticalMetadataImage
impl UnwindSafe for CriticalMetadataImage
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