Skip to main content

oci_rust_sdk/core/models/
security_rule_direction.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
4pub enum SecurityRuleDirection {
5    #[serde(rename = "EGRESS")]
6    Egress,
7
8    #[serde(rename = "INGRESS")]
9    Ingress,
10
11    /// This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
12    #[serde(other)]
13    UnknownValue,
14}