pub struct BlockDeviceIdentifiers {
pub label: String,
pub parent: BlockDeviceParent,
}
Expand description
A set of identifiers used to match block devices.
Fields§
§label: String
The expected partition label for the block device.
parent: BlockDeviceParent
The expected parent for the block device.
Trait Implementations§
Source§impl Clone for BlockDeviceIdentifiers
impl Clone for BlockDeviceIdentifiers
Source§fn clone(&self) -> BlockDeviceIdentifiers
fn clone(&self) -> BlockDeviceIdentifiers
Returns a copy 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 BlockDeviceIdentifiers
impl Debug for BlockDeviceIdentifiers
Source§impl<'de> Deserialize<'de> for BlockDeviceIdentifiers
impl<'de> Deserialize<'de> for BlockDeviceIdentifiers
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
Source§impl PartialEq for BlockDeviceIdentifiers
impl PartialEq for BlockDeviceIdentifiers
Source§impl Serialize for BlockDeviceIdentifiers
impl Serialize for BlockDeviceIdentifiers
impl StructuralPartialEq for BlockDeviceIdentifiers
Auto Trait Implementations§
impl Freeze for BlockDeviceIdentifiers
impl RefUnwindSafe for BlockDeviceIdentifiers
impl Send for BlockDeviceIdentifiers
impl Sync for BlockDeviceIdentifiers
impl Unpin for BlockDeviceIdentifiers
impl UnwindSafe for BlockDeviceIdentifiers
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