redfish_codegen/models/component_integrity/v1_2_1/
secure_session_type.rs

1// Generated by redfish-codegen. Do not modify.
2
3
4#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
5pub enum SecureSessionType {
6    /// A plain text session without any protection.
7    Plain,
8    /// An established session where both encryption and authentication are protecting the communication.
9    EncryptedAuthenticated,
10    /// An established session where only authentication is protecting the communication.
11    AuthenticatedOnly,
12}
13
14#[allow(clippy::derivable_impls)]
15impl Default for SecureSessionType {
16     fn default() -> SecureSessionType {
17        SecureSessionType::Plain
18     }
19}
20
21impl crate::Metadata<'static> for SecureSessionType {
22    const JSON_SCHEMA: &'static str = "ComponentIntegrity.v1_2_1.json";
23}