pub struct SPDMPolicy {
pub allow_extended_algorithms: Option<bool>,
pub allowed: Option<SPDMParameterSet>,
pub denied: Option<SPDMParameterSet>,
pub enabled: Option<bool>,
pub revoked_certificates: Option<IdRef>,
pub secure_session_enabled: Option<bool>,
pub trusted_certificates: Option<IdRef>,
pub verify_certificate: Option<bool>,
}
Expand description
SPDM policy settings.
Fields§
§allow_extended_algorithms: Option<bool>
An indication of whether SPDM extended algorithms are allowed.
allowed: Option<SPDMParameterSet>
§denied: Option<SPDMParameterSet>
§enabled: Option<bool>
An indication of whether SPDM communication with devices is enabled.
revoked_certificates: Option<IdRef>
§secure_session_enabled: Option<bool>
An indication of whether SPDM secure sessions with devices is enabled.
trusted_certificates: Option<IdRef>
§verify_certificate: Option<bool>
An indication of whether the manager will verify the certificate of the SPDM endpoint.
Trait Implementations§
Source§impl Clone for SPDMPolicy
impl Clone for SPDMPolicy
Source§fn clone(&self) -> SPDMPolicy
fn clone(&self) -> SPDMPolicy
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 SPDMPolicy
impl Debug for SPDMPolicy
Source§impl Default for SPDMPolicy
impl Default for SPDMPolicy
Source§impl<'de> Deserialize<'de> for SPDMPolicy
impl<'de> Deserialize<'de> for SPDMPolicy
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 SPDMPolicy
impl Metadata<'static> for SPDMPolicy
Source§const JSON_SCHEMA: &'static str = "SecurityPolicy.v1_0_0.json"
const JSON_SCHEMA: &'static str = "SecurityPolicy.v1_0_0.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 SPDMPolicy
impl RefUnwindSafe for SPDMPolicy
impl Send for SPDMPolicy
impl Sync for SPDMPolicy
impl Unpin for SPDMPolicy
impl UnwindSafe for SPDMPolicy
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