#[non_exhaustive]pub struct GetLogEventsOutput {
pub events: Option<Vec<OutputLogEvent>>,
pub next_forward_token: Option<String>,
pub next_backward_token: Option<String>,
/* private fields */
}
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<OutputLogEvent>>
The events.
next_forward_token: Option<String>
The token for the next set of items in the forward direction. The token expires after 24 hours. If you have reached the end of the stream, it returns the same token you passed in.
next_backward_token: Option<String>
The token for the next set of items in the backward direction. The token expires after 24 hours. This token is not null. If you have reached the end of the stream, it returns the same token you passed in.
Implementations§
source§impl GetLogEventsOutput
impl GetLogEventsOutput
sourcepub fn events(&self) -> &[OutputLogEvent]
pub fn events(&self) -> &[OutputLogEvent]
The events.
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_forward_token(&self) -> Option<&str>
pub fn next_forward_token(&self) -> Option<&str>
The token for the next set of items in the forward direction. The token expires after 24 hours. If you have reached the end of the stream, it returns the same token you passed in.
sourcepub fn next_backward_token(&self) -> Option<&str>
pub fn next_backward_token(&self) -> Option<&str>
The token for the next set of items in the backward direction. The token expires after 24 hours. This token is not null. If you have reached the end of the stream, it returns the same token you passed in.
source§impl GetLogEventsOutput
impl GetLogEventsOutput
sourcepub fn builder() -> GetLogEventsOutputBuilder
pub fn builder() -> GetLogEventsOutputBuilder
Creates a new builder-style object to manufacture GetLogEventsOutput
.
Trait Implementations§
source§impl Clone for GetLogEventsOutput
impl Clone for GetLogEventsOutput
source§fn clone(&self) -> GetLogEventsOutput
fn clone(&self) -> GetLogEventsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetLogEventsOutput
impl Debug for GetLogEventsOutput
source§impl PartialEq for GetLogEventsOutput
impl PartialEq for GetLogEventsOutput
source§fn eq(&self, other: &GetLogEventsOutput) -> bool
fn eq(&self, other: &GetLogEventsOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetLogEventsOutput
impl RequestId for GetLogEventsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for GetLogEventsOutput
Auto Trait Implementations§
impl Freeze for GetLogEventsOutput
impl RefUnwindSafe for GetLogEventsOutput
impl Send for GetLogEventsOutput
impl Sync for GetLogEventsOutput
impl Unpin for GetLogEventsOutput
impl UnwindSafe for GetLogEventsOutput
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