#[non_exhaustive]pub struct GetQueryResultsOutput {
pub query_status: Option<QueryStatus>,
pub query_statistics: Option<QueryStatistics>,
pub query_result_rows: Option<Vec<Vec<HashMap<String, String>>>>,
pub next_token: Option<String>,
pub error_message: 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.query_status: Option<QueryStatus>
The status of the query. Values include QUEUED
, RUNNING
, FINISHED
, FAILED
, TIMED_OUT
, or CANCELLED
.
query_statistics: Option<QueryStatistics>
Shows the count of query results.
query_result_rows: Option<Vec<Vec<HashMap<String, String>>>>
Contains the individual event results of the query.
next_token: Option<String>
A token you can use to get the next page of query results.
error_message: Option<String>
The error message returned if a query failed.
Implementations§
source§impl GetQueryResultsOutput
impl GetQueryResultsOutput
sourcepub fn query_status(&self) -> Option<&QueryStatus>
pub fn query_status(&self) -> Option<&QueryStatus>
The status of the query. Values include QUEUED
, RUNNING
, FINISHED
, FAILED
, TIMED_OUT
, or CANCELLED
.
sourcepub fn query_statistics(&self) -> Option<&QueryStatistics>
pub fn query_statistics(&self) -> Option<&QueryStatistics>
Shows the count of query results.
sourcepub fn query_result_rows(&self) -> &[Vec<HashMap<String, String>>]
pub fn query_result_rows(&self) -> &[Vec<HashMap<String, String>>]
Contains the individual event results of the query.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .query_result_rows.is_none()
.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
A token you can use to get the next page of query results.
sourcepub fn error_message(&self) -> Option<&str>
pub fn error_message(&self) -> Option<&str>
The error message returned if a query failed.
source§impl GetQueryResultsOutput
impl GetQueryResultsOutput
sourcepub fn builder() -> GetQueryResultsOutputBuilder
pub fn builder() -> GetQueryResultsOutputBuilder
Creates a new builder-style object to manufacture GetQueryResultsOutput
.
Trait Implementations§
source§impl Clone for GetQueryResultsOutput
impl Clone for GetQueryResultsOutput
source§fn clone(&self) -> GetQueryResultsOutput
fn clone(&self) -> GetQueryResultsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetQueryResultsOutput
impl Debug for GetQueryResultsOutput
source§impl PartialEq for GetQueryResultsOutput
impl PartialEq for GetQueryResultsOutput
source§fn eq(&self, other: &GetQueryResultsOutput) -> bool
fn eq(&self, other: &GetQueryResultsOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetQueryResultsOutput
impl RequestId for GetQueryResultsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for GetQueryResultsOutput
Auto Trait Implementations§
impl Freeze for GetQueryResultsOutput
impl RefUnwindSafe for GetQueryResultsOutput
impl Send for GetQueryResultsOutput
impl Sync for GetQueryResultsOutput
impl Unpin for GetQueryResultsOutput
impl UnwindSafe for GetQueryResultsOutput
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