Struct aws_sdk_cloudwatchlogs::output::GetLogEventsOutput
source · [−]#[non_exhaustive]pub struct GetLogEventsOutput {
pub events: Option<Vec<OutputLogEvent>>,
pub next_forward_token: Option<String>,
pub next_backward_token: Option<String>,
}
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 never null. If you have reached the end of the stream, it returns the same token you passed in.
Implementations
sourceimpl GetLogEventsOutput
impl GetLogEventsOutput
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 never null. If you have reached the end of the stream, it returns the same token you passed in.
sourceimpl GetLogEventsOutput
impl GetLogEventsOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GetLogEventsOutput
Trait Implementations
sourceimpl Clone for GetLogEventsOutput
impl Clone for GetLogEventsOutput
sourcefn clone(&self) -> GetLogEventsOutput
fn clone(&self) -> GetLogEventsOutput
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 GetLogEventsOutput
impl Debug for GetLogEventsOutput
sourceimpl PartialEq<GetLogEventsOutput> for GetLogEventsOutput
impl PartialEq<GetLogEventsOutput> for GetLogEventsOutput
sourcefn eq(&self, other: &GetLogEventsOutput) -> bool
fn eq(&self, other: &GetLogEventsOutput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &GetLogEventsOutput) -> bool
fn ne(&self, other: &GetLogEventsOutput) -> bool
This method tests for !=
.
impl StructuralPartialEq for GetLogEventsOutput
Auto Trait Implementations
impl RefUnwindSafe for GetLogEventsOutput
impl Send for GetLogEventsOutput
impl Sync for GetLogEventsOutput
impl Unpin for GetLogEventsOutput
impl UnwindSafe for GetLogEventsOutput
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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