Struct aws_sdk_securityhub::types::ActionRemoteIpDetails
source · #[non_exhaustive]pub struct ActionRemoteIpDetails {
pub ip_address_v4: Option<String>,
pub organization: Option<IpOrganizationDetails>,
pub country: Option<Country>,
pub city: Option<City>,
pub geo_location: Option<GeoLocation>,
}
Expand description
For AwsApiAction
, NetworkConnectionAction
, and PortProbeAction
, RemoteIpDetails
provides information about the remote IP address that was involved in the action.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.ip_address_v4: Option<String>
The IP address.
organization: Option<IpOrganizationDetails>
The internet service provider (ISP) organization associated with the remote IP address.
country: Option<Country>
The country where the remote IP address is located.
city: Option<City>
The city where the remote IP address is located.
geo_location: Option<GeoLocation>
The coordinates of the location of the remote IP address.
Implementations§
source§impl ActionRemoteIpDetails
impl ActionRemoteIpDetails
sourcepub fn ip_address_v4(&self) -> Option<&str>
pub fn ip_address_v4(&self) -> Option<&str>
The IP address.
sourcepub fn organization(&self) -> Option<&IpOrganizationDetails>
pub fn organization(&self) -> Option<&IpOrganizationDetails>
The internet service provider (ISP) organization associated with the remote IP address.
sourcepub fn geo_location(&self) -> Option<&GeoLocation>
pub fn geo_location(&self) -> Option<&GeoLocation>
The coordinates of the location of the remote IP address.
source§impl ActionRemoteIpDetails
impl ActionRemoteIpDetails
sourcepub fn builder() -> ActionRemoteIpDetailsBuilder
pub fn builder() -> ActionRemoteIpDetailsBuilder
Creates a new builder-style object to manufacture ActionRemoteIpDetails
.
Trait Implementations§
source§impl Clone for ActionRemoteIpDetails
impl Clone for ActionRemoteIpDetails
source§fn clone(&self) -> ActionRemoteIpDetails
fn clone(&self) -> ActionRemoteIpDetails
Returns a copy 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 ActionRemoteIpDetails
impl Debug for ActionRemoteIpDetails
source§impl PartialEq for ActionRemoteIpDetails
impl PartialEq for ActionRemoteIpDetails
source§fn eq(&self, other: &ActionRemoteIpDetails) -> bool
fn eq(&self, other: &ActionRemoteIpDetails) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ActionRemoteIpDetails
Auto Trait Implementations§
impl RefUnwindSafe for ActionRemoteIpDetails
impl Send for ActionRemoteIpDetails
impl Sync for ActionRemoteIpDetails
impl Unpin for ActionRemoteIpDetails
impl UnwindSafe for ActionRemoteIpDetails
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
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>
Creates a shared type from an unshared type.