Struct aws_sdk_macie2::types::IpAddressDetails
source · #[non_exhaustive]pub struct IpAddressDetails { /* private fields */ }
Expand description
Provides information about the IP address of the device that an entity used to perform an action on an affected resource.
Implementations§
source§impl IpAddressDetails
impl IpAddressDetails
sourcepub fn ip_address_v4(&self) -> Option<&str>
pub fn ip_address_v4(&self) -> Option<&str>
The Internet Protocol version 4 (IPv4) address of the device.
sourcepub fn ip_country(&self) -> Option<&IpCountry>
pub fn ip_country(&self) -> Option<&IpCountry>
The country that the IP address originated from.
sourcepub fn ip_geo_location(&self) -> Option<&IpGeoLocation>
pub fn ip_geo_location(&self) -> Option<&IpGeoLocation>
The geographic coordinates of the location that the IP address originated from.
source§impl IpAddressDetails
impl IpAddressDetails
sourcepub fn builder() -> IpAddressDetailsBuilder
pub fn builder() -> IpAddressDetailsBuilder
Creates a new builder-style object to manufacture IpAddressDetails
.
Trait Implementations§
source§impl Clone for IpAddressDetails
impl Clone for IpAddressDetails
source§fn clone(&self) -> IpAddressDetails
fn clone(&self) -> IpAddressDetails
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 IpAddressDetails
impl Debug for IpAddressDetails
source§impl PartialEq<IpAddressDetails> for IpAddressDetails
impl PartialEq<IpAddressDetails> for IpAddressDetails
source§fn eq(&self, other: &IpAddressDetails) -> bool
fn eq(&self, other: &IpAddressDetails) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.