Struct aws_sdk_macie2::model::IpAddressDetails
source · [−]#[non_exhaustive]pub struct IpAddressDetails {
pub ip_address_v4: Option<String>,
pub ip_city: Option<IpCity>,
pub ip_country: Option<IpCountry>,
pub ip_geo_location: Option<IpGeoLocation>,
pub ip_owner: Option<IpOwner>,
}
Expand description
Provides information about the IP address of the device that an entity used to perform an action on an affected resource.
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.ip_address_v4: Option<String>
The Internet Protocol version 4 (IPv4) address of the device.
ip_city: Option<IpCity>
The city that the IP address originated from.
ip_country: Option<IpCountry>
The country that the IP address originated from.
ip_geo_location: Option<IpGeoLocation>
The geographic coordinates of the location that the IP address originated from.
ip_owner: Option<IpOwner>
The registered owner of the IP address.
Implementations
sourceimpl 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.
sourceimpl IpAddressDetails
impl IpAddressDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture IpAddressDetails
Trait Implementations
sourceimpl Clone for IpAddressDetails
impl Clone for IpAddressDetails
sourcefn clone(&self) -> IpAddressDetails
fn clone(&self) -> IpAddressDetails
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for IpAddressDetails
impl Debug for IpAddressDetails
sourceimpl PartialEq<IpAddressDetails> for IpAddressDetails
impl PartialEq<IpAddressDetails> for IpAddressDetails
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &IpAddressDetails) -> bool
fn ne(&self, other: &IpAddressDetails) -> bool
This method tests for !=
.
impl StructuralPartialEq for IpAddressDetails
Auto Trait Implementations
impl RefUnwindSafe for IpAddressDetails
impl Send for IpAddressDetails
impl Sync for IpAddressDetails
impl Unpin for IpAddressDetails
impl UnwindSafe for IpAddressDetails
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
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> 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