pub struct DriveProfile {
pub identity: Identity,
pub signature: [u8; 4],
pub firmware: Vec<u8>,
}Expand description
Per-drive profile.
Fields§
§identity: Identity§signature: [u8; 4]§firmware: Vec<u8>Trait Implementations§
Source§impl Clone for DriveProfile
impl Clone for DriveProfile
Source§fn clone(&self) -> DriveProfile
fn clone(&self) -> DriveProfile
Returns a duplicate of the value. Read more
1.0.0 · 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 DriveProfile
impl Debug for DriveProfile
Source§impl<'de> Deserialize<'de> for DriveProfile
impl<'de> Deserialize<'de> for DriveProfile
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DriveProfile
impl RefUnwindSafe for DriveProfile
impl Send for DriveProfile
impl Sync for DriveProfile
impl Unpin for DriveProfile
impl UnsafeUnpin for DriveProfile
impl UnwindSafe for DriveProfile
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