Struct aws_sdk_detective::types::ImpossibleTravelDetail
source · #[non_exhaustive]pub struct ImpossibleTravelDetail {
pub starting_ip_address: Option<String>,
pub ending_ip_address: Option<String>,
pub starting_location: Option<String>,
pub ending_location: Option<String>,
pub hourly_time_delta: Option<i32>,
}
Expand description
Contains information on unusual and impossible travel in an account.
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.starting_ip_address: Option<String>
IP address where the resource was first used in the impossible travel.
ending_ip_address: Option<String>
IP address where the resource was last used in the impossible travel.
starting_location: Option<String>
Location where the resource was first used in the impossible travel.
ending_location: Option<String>
Location where the resource was last used in the impossible travel.
hourly_time_delta: Option<i32>
Returns the time difference between the first and last timestamp the resource was used.
Implementations§
source§impl ImpossibleTravelDetail
impl ImpossibleTravelDetail
sourcepub fn starting_ip_address(&self) -> Option<&str>
pub fn starting_ip_address(&self) -> Option<&str>
IP address where the resource was first used in the impossible travel.
sourcepub fn ending_ip_address(&self) -> Option<&str>
pub fn ending_ip_address(&self) -> Option<&str>
IP address where the resource was last used in the impossible travel.
sourcepub fn starting_location(&self) -> Option<&str>
pub fn starting_location(&self) -> Option<&str>
Location where the resource was first used in the impossible travel.
sourcepub fn ending_location(&self) -> Option<&str>
pub fn ending_location(&self) -> Option<&str>
Location where the resource was last used in the impossible travel.
sourcepub fn hourly_time_delta(&self) -> Option<i32>
pub fn hourly_time_delta(&self) -> Option<i32>
Returns the time difference between the first and last timestamp the resource was used.
source§impl ImpossibleTravelDetail
impl ImpossibleTravelDetail
sourcepub fn builder() -> ImpossibleTravelDetailBuilder
pub fn builder() -> ImpossibleTravelDetailBuilder
Creates a new builder-style object to manufacture ImpossibleTravelDetail
.
Trait Implementations§
source§impl Clone for ImpossibleTravelDetail
impl Clone for ImpossibleTravelDetail
source§fn clone(&self) -> ImpossibleTravelDetail
fn clone(&self) -> ImpossibleTravelDetail
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ImpossibleTravelDetail
impl Debug for ImpossibleTravelDetail
source§impl PartialEq for ImpossibleTravelDetail
impl PartialEq for ImpossibleTravelDetail
source§fn eq(&self, other: &ImpossibleTravelDetail) -> bool
fn eq(&self, other: &ImpossibleTravelDetail) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ImpossibleTravelDetail
Auto Trait Implementations§
impl Freeze for ImpossibleTravelDetail
impl RefUnwindSafe for ImpossibleTravelDetail
impl Send for ImpossibleTravelDetail
impl Sync for ImpossibleTravelDetail
impl Unpin for ImpossibleTravelDetail
impl UnwindSafe for ImpossibleTravelDetail
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