Struct aws_sdk_securityhub::model::Network
source · [−]#[non_exhaustive]pub struct Network {
pub direction: Option<NetworkDirection>,
pub protocol: Option<String>,
pub open_port_range: Option<PortRange>,
pub source_ip_v4: Option<String>,
pub source_ip_v6: Option<String>,
pub source_port: i32,
pub source_domain: Option<String>,
pub source_mac: Option<String>,
pub destination_ip_v4: Option<String>,
pub destination_ip_v6: Option<String>,
pub destination_port: 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_ip_v4: Option<String>
The source IPv4 address of network-related information about a finding.
source_ip_v6: Option<String>
The source IPv6 address of network-related information about a finding.
source_port: 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_ip_v4: Option<String>
The destination IPv4 address of network-related information about a finding.
destination_ip_v6: Option<String>
The destination IPv6 address of network-related information about a finding.
destination_port: 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
sourceimpl 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_ip_v4(&self) -> Option<&str>
pub fn source_ip_v4(&self) -> Option<&str>
The source IPv4 address of network-related information about a finding.
sourcepub fn source_ip_v6(&self) -> Option<&str>
pub fn source_ip_v6(&self) -> Option<&str>
The source IPv6 address of network-related information about a finding.
sourcepub fn source_port(&self) -> i32
pub fn source_port(&self) -> 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_ip_v4(&self) -> Option<&str>
pub fn destination_ip_v4(&self) -> Option<&str>
The destination IPv4 address of network-related information about a finding.
sourcepub fn destination_ip_v6(&self) -> Option<&str>
pub fn destination_ip_v6(&self) -> Option<&str>
The destination IPv6 address of network-related information about a finding.
sourcepub fn destination_port(&self) -> i32
pub fn destination_port(&self) -> 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
impl StructuralPartialEq for Network
Auto Trait Implementations
impl RefUnwindSafe for Network
impl Send for Network
impl Sync for Network
impl Unpin for Network
impl UnwindSafe for Network
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more