pub struct BlockdevOptionsLUKS {
pub base: BlockdevOptionsGenericFormat,
pub header: Option<BlockdevRef>,
pub key_secret: Option<String>,
}
Fields§
§base: BlockdevOptionsGenericFormat
§header: Option<BlockdevRef>
§key_secret: Option<String>
Trait Implementations§
Source§impl AsRef<BlockdevOptionsGenericFormat> for BlockdevOptionsLUKS
impl AsRef<BlockdevOptionsGenericFormat> for BlockdevOptionsLUKS
Source§fn as_ref(&self) -> &BlockdevOptionsGenericFormat
fn as_ref(&self) -> &BlockdevOptionsGenericFormat
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for BlockdevOptionsLUKS
impl Clone for BlockdevOptionsLUKS
Source§fn clone(&self) -> BlockdevOptionsLUKS
fn clone(&self) -> BlockdevOptionsLUKS
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 BlockdevOptionsLUKS
impl Debug for BlockdevOptionsLUKS
Source§impl<'de> Deserialize<'de> for BlockdevOptionsLUKS
impl<'de> Deserialize<'de> for BlockdevOptionsLUKS
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<T: Into<BlockdevOptionsGenericFormat>> From<T> for BlockdevOptionsLUKS
impl<T: Into<BlockdevOptionsGenericFormat>> From<T> for BlockdevOptionsLUKS
Auto Trait Implementations§
impl Freeze for BlockdevOptionsLUKS
impl RefUnwindSafe for BlockdevOptionsLUKS
impl Send for BlockdevOptionsLUKS
impl Sync for BlockdevOptionsLUKS
impl Unpin for BlockdevOptionsLUKS
impl UnwindSafe for BlockdevOptionsLUKS
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