#[non_exhaustive]pub struct Rev5VolumeMeta {
pub version: u8,
pub data_count: u16,
pub recovery_count: u16,
pub recovery_number: u16,
pub payload_crc32: u32,
pub payload_size: u64,
pub data_volumes: Vec<Rev5DataVolume>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.version: u8§data_count: u16§recovery_count: u16§recovery_number: u16§payload_crc32: u32§payload_size: u64§data_volumes: Vec<Rev5DataVolume>Implementations§
Trait Implementations§
Source§impl Clone for Rev5VolumeMeta
impl Clone for Rev5VolumeMeta
Source§fn clone(&self) -> Rev5VolumeMeta
fn clone(&self) -> Rev5VolumeMeta
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 Rev5VolumeMeta
impl Debug for Rev5VolumeMeta
Source§impl From<&Rev5Volume> for Rev5VolumeMeta
impl From<&Rev5Volume> for Rev5VolumeMeta
Source§fn from(volume: &Rev5Volume) -> Self
fn from(volume: &Rev5Volume) -> Self
Converts to this type from the input type.
Source§impl From<Rev5Volume> for Rev5VolumeMeta
impl From<Rev5Volume> for Rev5VolumeMeta
Source§fn from(volume: Rev5Volume) -> Self
fn from(volume: Rev5Volume) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Rev5VolumeMeta
impl PartialEq for Rev5VolumeMeta
Source§fn eq(&self, other: &Rev5VolumeMeta) -> bool
fn eq(&self, other: &Rev5VolumeMeta) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for Rev5VolumeMeta
impl StructuralPartialEq for Rev5VolumeMeta
Auto Trait Implementations§
impl Freeze for Rev5VolumeMeta
impl RefUnwindSafe for Rev5VolumeMeta
impl Send for Rev5VolumeMeta
impl Sync for Rev5VolumeMeta
impl Unpin for Rev5VolumeMeta
impl UnsafeUnpin for Rev5VolumeMeta
impl UnwindSafe for Rev5VolumeMeta
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