#[non_exhaustive]pub struct LookupEventsOutput {
pub events: Option<Vec<Event>>,
pub next_token: Option<String>,
/* private fields */
}
Expand description
Contains a response to a LookupEvents action.
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.events: Option<Vec<Event>>
A list of events returned based on the lookup attributes specified and the CloudTrail event. The events list is sorted by time. The most recent event is listed first.
next_token: Option<String>
The token to use to get the next page of results after a previous API call. If the token does not appear, there are no more results to return. The token must be passed in with the same parameters as the previous call. For example, if the original call specified an AttributeKey of 'Username' with a value of 'root', the call with NextToken should include those same parameters.
Implementations§
source§impl LookupEventsOutput
impl LookupEventsOutput
sourcepub fn events(&self) -> &[Event]
pub fn events(&self) -> &[Event]
A list of events returned based on the lookup attributes specified and the CloudTrail event. The events list is sorted by time. The most recent event is listed first.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .events.is_none()
.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The token to use to get the next page of results after a previous API call. If the token does not appear, there are no more results to return. The token must be passed in with the same parameters as the previous call. For example, if the original call specified an AttributeKey of 'Username' with a value of 'root', the call with NextToken should include those same parameters.
source§impl LookupEventsOutput
impl LookupEventsOutput
sourcepub fn builder() -> LookupEventsOutputBuilder
pub fn builder() -> LookupEventsOutputBuilder
Creates a new builder-style object to manufacture LookupEventsOutput
.
Trait Implementations§
source§impl Clone for LookupEventsOutput
impl Clone for LookupEventsOutput
source§fn clone(&self) -> LookupEventsOutput
fn clone(&self) -> LookupEventsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LookupEventsOutput
impl Debug for LookupEventsOutput
source§impl PartialEq for LookupEventsOutput
impl PartialEq for LookupEventsOutput
source§fn eq(&self, other: &LookupEventsOutput) -> bool
fn eq(&self, other: &LookupEventsOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for LookupEventsOutput
impl RequestId for LookupEventsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for LookupEventsOutput
Auto Trait Implementations§
impl Freeze for LookupEventsOutput
impl RefUnwindSafe for LookupEventsOutput
impl Send for LookupEventsOutput
impl Sync for LookupEventsOutput
impl Unpin for LookupEventsOutput
impl UnwindSafe for LookupEventsOutput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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