pub struct PacketMirroringFilter {
pub ip_protocols: Option<Vec<String>>,
pub cidr_ranges: Option<Vec<String>>,
pub direction: Option<String>,
}
Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§ip_protocols: Option<Vec<String>>
Protocols that apply as filter on mirrored traffic. If no protocols are specified, all traffic that matches the specified CIDR ranges is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored.
cidr_ranges: Option<Vec<String>>
One or more IPv4 or IPv6 CIDR ranges that apply as filters on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use “0.0.0.0/0,::/0”.
direction: Option<String>
Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default is BOTH.
Trait Implementations§
Source§impl Clone for PacketMirroringFilter
impl Clone for PacketMirroringFilter
Source§fn clone(&self) -> PacketMirroringFilter
fn clone(&self) -> PacketMirroringFilter
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for PacketMirroringFilter
impl Debug for PacketMirroringFilter
Source§impl Default for PacketMirroringFilter
impl Default for PacketMirroringFilter
Source§fn default() -> PacketMirroringFilter
fn default() -> PacketMirroringFilter
Source§impl<'de> Deserialize<'de> for PacketMirroringFilter
impl<'de> Deserialize<'de> for PacketMirroringFilter
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>,
Source§impl Serialize for PacketMirroringFilter
impl Serialize for PacketMirroringFilter
impl Part for PacketMirroringFilter
Auto Trait Implementations§
impl Freeze for PacketMirroringFilter
impl RefUnwindSafe for PacketMirroringFilter
impl Send for PacketMirroringFilter
impl Sync for PacketMirroringFilter
impl Unpin for PacketMirroringFilter
impl UnwindSafe for PacketMirroringFilter
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more