#[non_exhaustive]pub struct GetStatementResultOutput {
pub records: Option<Vec<Vec<Field>>>,
pub column_metadata: Option<Vec<ColumnMetadata>>,
pub total_num_rows: i64,
pub next_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.records: Option<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
sourceimpl GetStatementResultOutput
impl GetStatementResultOutput
sourcepub fn column_metadata(&self) -> Option<&[ColumnMetadata]>
pub fn column_metadata(&self) -> Option<&[ColumnMetadata]>
The properties (metadata) of a column.
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.
sourceimpl GetStatementResultOutput
impl GetStatementResultOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GetStatementResultOutput
Trait Implementations
sourceimpl Clone for GetStatementResultOutput
impl Clone for GetStatementResultOutput
sourcefn clone(&self) -> GetStatementResultOutput
fn clone(&self) -> GetStatementResultOutput
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 GetStatementResultOutput
impl Debug for GetStatementResultOutput
sourceimpl PartialEq<GetStatementResultOutput> for GetStatementResultOutput
impl PartialEq<GetStatementResultOutput> for GetStatementResultOutput
sourcefn eq(&self, other: &GetStatementResultOutput) -> bool
fn eq(&self, other: &GetStatementResultOutput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &GetStatementResultOutput) -> bool
fn ne(&self, other: &GetStatementResultOutput) -> bool
This method tests for !=.
impl StructuralPartialEq for GetStatementResultOutput
Auto Trait Implementations
impl RefUnwindSafe for GetStatementResultOutput
impl Send for GetStatementResultOutput
impl Sync for GetStatementResultOutput
impl Unpin for GetStatementResultOutput
impl UnwindSafe for GetStatementResultOutput
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> 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