pub struct EgressNetworkPolicyRule {
pub to: EgressNetworkPolicyPeer,
pub type_: String,
}
Expand description
EgressNetworkPolicyRule contains a single egress network policy rule
Fields§
§to: EgressNetworkPolicyPeer
to is the target that traffic is allowed/denied to
type_: String
type marks this as an “Allow” or “Deny” rule
Trait Implementations§
Source§impl Clone for EgressNetworkPolicyRule
impl Clone for EgressNetworkPolicyRule
Source§fn clone(&self) -> EgressNetworkPolicyRule
fn clone(&self) -> EgressNetworkPolicyRule
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for EgressNetworkPolicyRule
impl Debug for EgressNetworkPolicyRule
Source§impl Default for EgressNetworkPolicyRule
impl Default for EgressNetworkPolicyRule
Source§fn default() -> EgressNetworkPolicyRule
fn default() -> EgressNetworkPolicyRule
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EgressNetworkPolicyRule
impl<'de> Deserialize<'de> for EgressNetworkPolicyRule
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 PartialEq for EgressNetworkPolicyRule
impl PartialEq for EgressNetworkPolicyRule
Source§impl Serialize for EgressNetworkPolicyRule
impl Serialize for EgressNetworkPolicyRule
impl StructuralPartialEq for EgressNetworkPolicyRule
Auto Trait Implementations§
impl Freeze for EgressNetworkPolicyRule
impl RefUnwindSafe for EgressNetworkPolicyRule
impl Send for EgressNetworkPolicyRule
impl Sync for EgressNetworkPolicyRule
impl Unpin for EgressNetworkPolicyRule
impl UnwindSafe for EgressNetworkPolicyRule
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