oci_rust_sdk/core/models/macsec_state.rs
1use serde::{Deserialize, Serialize};
2
3/// Indicates whether or not MACsec is enabled.
4#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
5pub enum MacsecState {
6 #[serde(rename = "ENABLED")]
7 Enabled,
8
9 #[serde(rename = "DISABLED")]
10 Disabled,
11
12 /// This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
13 #[serde(other)]
14 UnknownValue,
15}