pub struct SecurityCapabilities {
pub configuration_lock_capable: Option<bool>,
pub data_lock_capable: Option<bool>,
pub max_passphrase_count: Option<i64>,
pub passphrase_capable: Option<bool>,
pub passphrase_lock_limit: Option<i64>,
pub security_states: Option<Vec<SecurityStates>>,
}
Expand description
This type contains security capabilities of a memory device.
Fields§
§configuration_lock_capable: Option<bool>
An indication of whether this memory device supports the locking, or freezing, of the configuration.
data_lock_capable: Option<bool>
An indication of whether this memory device supports data locking.
max_passphrase_count: Option<i64>
Maximum number of passphrases supported for this memory device.
passphrase_capable: Option<bool>
An indication of whether the memory device is passphrase capable.
passphrase_lock_limit: Option<i64>
The maximum number of incorrect passphrase attempts allowed before memory device is locked.
security_states: Option<Vec<SecurityStates>>
Security states supported by the memory device.
Trait Implementations§
Source§impl Clone for SecurityCapabilities
impl Clone for SecurityCapabilities
Source§fn clone(&self) -> SecurityCapabilities
fn clone(&self) -> SecurityCapabilities
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SecurityCapabilities
impl Debug for SecurityCapabilities
Source§impl Default for SecurityCapabilities
impl Default for SecurityCapabilities
Source§impl<'de> Deserialize<'de> for SecurityCapabilities
impl<'de> Deserialize<'de> for SecurityCapabilities
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 Metadata<'static> for SecurityCapabilities
impl Metadata<'static> for SecurityCapabilities
Source§const JSON_SCHEMA: &'static str = "Memory.v1_17_1.json"
const JSON_SCHEMA: &'static str = "Memory.v1_17_1.json"
Name of the json-schema file that describes the entity that implements this trait. Should
be only the file name, so that it can be resolved relative to the URL of the redfish
service, or the public Redfish schema index.
Auto Trait Implementations§
impl Freeze for SecurityCapabilities
impl RefUnwindSafe for SecurityCapabilities
impl Send for SecurityCapabilities
impl Sync for SecurityCapabilities
impl Unpin for SecurityCapabilities
impl UnwindSafe for SecurityCapabilities
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