Struct aws_sdk_securityhub::types::Network
source · #[non_exhaustive]pub struct Network {
pub direction: Option<NetworkDirection>,
pub protocol: Option<String>,
pub open_port_range: Option<PortRange>,
pub source_ipv4: Option<String>,
pub source_ipv6: Option<String>,
pub source_port: Option<i32>,
pub source_domain: Option<String>,
pub source_mac: Option<String>,
pub destination_ipv4: Option<String>,
pub destination_ipv6: Option<String>,
pub destination_port: Option<i32>,
pub destination_domain: Option<String>,
}
Expand description
The details of network-related information about a finding.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.direction: Option<NetworkDirection>
The direction of network traffic associated with a finding.
protocol: Option<String>
The protocol of network-related information about a finding.
open_port_range: Option<PortRange>
The range of open ports that is present on the network.
source_ipv4: Option<String>
The source IPv4 address of network-related information about a finding.
source_ipv6: Option<String>
The source IPv6 address of network-related information about a finding.
source_port: Option<i32>
The source port of network-related information about a finding.
source_domain: Option<String>
The source domain of network-related information about a finding.
source_mac: Option<String>
The source media access control (MAC) address of network-related information about a finding.
destination_ipv4: Option<String>
The destination IPv4 address of network-related information about a finding.
destination_ipv6: Option<String>
The destination IPv6 address of network-related information about a finding.
destination_port: Option<i32>
The destination port of network-related information about a finding.
destination_domain: Option<String>
The destination domain of network-related information about a finding.
Implementations§
source§impl Network
impl Network
sourcepub fn direction(&self) -> Option<&NetworkDirection>
pub fn direction(&self) -> Option<&NetworkDirection>
The direction of network traffic associated with a finding.
sourcepub fn protocol(&self) -> Option<&str>
pub fn protocol(&self) -> Option<&str>
The protocol of network-related information about a finding.
sourcepub fn open_port_range(&self) -> Option<&PortRange>
pub fn open_port_range(&self) -> Option<&PortRange>
The range of open ports that is present on the network.
sourcepub fn source_ipv4(&self) -> Option<&str>
pub fn source_ipv4(&self) -> Option<&str>
The source IPv4 address of network-related information about a finding.
sourcepub fn source_ipv6(&self) -> Option<&str>
pub fn source_ipv6(&self) -> Option<&str>
The source IPv6 address of network-related information about a finding.
sourcepub fn source_port(&self) -> Option<i32>
pub fn source_port(&self) -> Option<i32>
The source port of network-related information about a finding.
sourcepub fn source_domain(&self) -> Option<&str>
pub fn source_domain(&self) -> Option<&str>
The source domain of network-related information about a finding.
sourcepub fn source_mac(&self) -> Option<&str>
pub fn source_mac(&self) -> Option<&str>
The source media access control (MAC) address of network-related information about a finding.
sourcepub fn destination_ipv4(&self) -> Option<&str>
pub fn destination_ipv4(&self) -> Option<&str>
The destination IPv4 address of network-related information about a finding.
sourcepub fn destination_ipv6(&self) -> Option<&str>
pub fn destination_ipv6(&self) -> Option<&str>
The destination IPv6 address of network-related information about a finding.
sourcepub fn destination_port(&self) -> Option<i32>
pub fn destination_port(&self) -> Option<i32>
The destination port of network-related information about a finding.
sourcepub fn destination_domain(&self) -> Option<&str>
pub fn destination_domain(&self) -> Option<&str>
The destination domain of network-related information about a finding.
Trait Implementations§
source§impl PartialEq for Network
impl PartialEq for Network
impl StructuralPartialEq for Network
Auto Trait Implementations§
impl Freeze for Network
impl RefUnwindSafe for Network
impl Send for Network
impl Sync for Network
impl Unpin for Network
impl UnwindSafe for Network
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> 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