Struct luks2::LuksConfig [−][src]
pub struct LuksConfig {
pub json_size: u64,
pub keyslots_size: u64,
pub flags: Option<Vec<String>>,
pub requirements: Option<Vec<String>>,
}
Expand description
Global attributes for the LUKS device.
Fields
json_size: u64
The JSON area size in bytes. Must match the binary header.
keyslots_size: u64
The binary keyslot area size in bytes. Must be aligned to 4096 bytes.
flags: Option<Vec<String>>
An optional list of persistent flags for the device.
requirements: Option<Vec<String>>
An optional list of additional required featers for the LUKS device.
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.