#[non_exhaustive]pub struct GetStatementResultOutput {
pub records: Vec<Vec<Field>>,
pub column_metadata: Option<Vec<ColumnMetadata>>,
pub total_num_rows: i64,
pub next_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.records: Vec<Vec<Field>>The results of the SQL statement.
column_metadata: Option<Vec<ColumnMetadata>>The properties (metadata) of a column.
total_num_rows: i64The total number of rows in the result set returned from a query. You can use this number to estimate the number of calls to the GetStatementResult operation needed to page through the results.
next_token: Option<String>A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request.
Implementations§
source§impl GetStatementResultOutput
impl GetStatementResultOutput
sourcepub fn column_metadata(&self) -> &[ColumnMetadata]
pub fn column_metadata(&self) -> &[ColumnMetadata]
The properties (metadata) of a column.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .column_metadata.is_none().
sourcepub fn total_num_rows(&self) -> i64
pub fn total_num_rows(&self) -> i64
The total number of rows in the result set returned from a query. You can use this number to estimate the number of calls to the GetStatementResult operation needed to page through the results.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request.
source§impl GetStatementResultOutput
impl GetStatementResultOutput
sourcepub fn builder() -> GetStatementResultOutputBuilder
pub fn builder() -> GetStatementResultOutputBuilder
Creates a new builder-style object to manufacture GetStatementResultOutput.
Trait Implementations§
source§impl Clone for GetStatementResultOutput
impl Clone for GetStatementResultOutput
source§fn clone(&self) -> GetStatementResultOutput
fn clone(&self) -> GetStatementResultOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetStatementResultOutput
impl Debug for GetStatementResultOutput
source§impl PartialEq for GetStatementResultOutput
impl PartialEq for GetStatementResultOutput
source§fn eq(&self, other: &GetStatementResultOutput) -> bool
fn eq(&self, other: &GetStatementResultOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for GetStatementResultOutput
impl RequestId for GetStatementResultOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.