#[non_exhaustive]pub struct Rev5Volume {
pub version: u8,
pub data_count: u16,
pub recovery_count: u16,
pub recovery_number: u16,
pub payload_crc32: u32,
pub payload_size: u64,
pub payload: Vec<u8>,
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§payload: Vec<u8>§data_volumes: Vec<Rev5DataVolume>Implementations§
Trait Implementations§
Source§impl Clone for Rev5Volume
impl Clone for Rev5Volume
Source§fn clone(&self) -> Rev5Volume
fn clone(&self) -> Rev5Volume
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 Rev5Volume
impl Debug for Rev5Volume
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 Rev5Volume
impl PartialEq for Rev5Volume
Source§fn eq(&self, other: &Rev5Volume) -> bool
fn eq(&self, other: &Rev5Volume) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for Rev5Volume
impl StructuralPartialEq for Rev5Volume
Auto Trait Implementations§
impl Freeze for Rev5Volume
impl RefUnwindSafe for Rev5Volume
impl Send for Rev5Volume
impl Sync for Rev5Volume
impl Unpin for Rev5Volume
impl UnsafeUnpin for Rev5Volume
impl UnwindSafe for Rev5Volume
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