Struct aws_sdk_rdsdata::types::SqlStatementResult
source · #[non_exhaustive]pub struct SqlStatementResult {
pub result_frame: Option<ResultFrame>,
pub number_of_records_updated: i64,
}Expand description
The result of a SQL statement.
This data structure is only used with the deprecated ExecuteSql operation. Use the BatchExecuteStatement or ExecuteStatement operation instead.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.result_frame: Option<ResultFrame>The result set of the SQL statement.
number_of_records_updated: i64The number of records updated by a SQL statement.
Implementations§
source§impl SqlStatementResult
impl SqlStatementResult
sourcepub fn result_frame(&self) -> Option<&ResultFrame>
pub fn result_frame(&self) -> Option<&ResultFrame>
The result set of the SQL statement.
sourcepub fn number_of_records_updated(&self) -> i64
pub fn number_of_records_updated(&self) -> i64
The number of records updated by a SQL statement.
source§impl SqlStatementResult
impl SqlStatementResult
sourcepub fn builder() -> SqlStatementResultBuilder
pub fn builder() -> SqlStatementResultBuilder
Creates a new builder-style object to manufacture SqlStatementResult.
Trait Implementations§
source§impl Clone for SqlStatementResult
impl Clone for SqlStatementResult
source§fn clone(&self) -> SqlStatementResult
fn clone(&self) -> SqlStatementResult
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for SqlStatementResult
impl Debug for SqlStatementResult
source§impl PartialEq for SqlStatementResult
impl PartialEq for SqlStatementResult
source§fn eq(&self, other: &SqlStatementResult) -> bool
fn eq(&self, other: &SqlStatementResult) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SqlStatementResult
Auto Trait Implementations§
impl RefUnwindSafe for SqlStatementResult
impl Send for SqlStatementResult
impl Sync for SqlStatementResult
impl Unpin for SqlStatementResult
impl UnwindSafe for SqlStatementResult
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.