#[non_exhaustive]pub struct SendCommandOutput {
pub start_session: Option<StartSessionResult>,
pub start_transaction: Option<StartTransactionResult>,
pub end_session: Option<EndSessionResult>,
pub commit_transaction: Option<CommitTransactionResult>,
pub abort_transaction: Option<AbortTransactionResult>,
pub execute_statement: Option<ExecuteStatementResult>,
pub fetch_page: Option<FetchPageResult>,
/* 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.start_session: Option<StartSessionResult>Contains the details of the started session that includes a session token. This SessionToken is required for every subsequent command that is issued during the current session.
start_transaction: Option<StartTransactionResult>Contains the details of the started transaction.
end_session: Option<EndSessionResult>Contains the details of the ended session.
commit_transaction: Option<CommitTransactionResult>Contains the details of the committed transaction.
abort_transaction: Option<AbortTransactionResult>Contains the details of the aborted transaction.
execute_statement: Option<ExecuteStatementResult>Contains the details of the executed statement.
fetch_page: Option<FetchPageResult>Contains the details of the fetched page.
Implementations§
source§impl SendCommandOutput
impl SendCommandOutput
sourcepub fn start_session(&self) -> Option<&StartSessionResult>
pub fn start_session(&self) -> Option<&StartSessionResult>
Contains the details of the started session that includes a session token. This SessionToken is required for every subsequent command that is issued during the current session.
sourcepub fn start_transaction(&self) -> Option<&StartTransactionResult>
pub fn start_transaction(&self) -> Option<&StartTransactionResult>
Contains the details of the started transaction.
sourcepub fn end_session(&self) -> Option<&EndSessionResult>
pub fn end_session(&self) -> Option<&EndSessionResult>
Contains the details of the ended session.
sourcepub fn commit_transaction(&self) -> Option<&CommitTransactionResult>
pub fn commit_transaction(&self) -> Option<&CommitTransactionResult>
Contains the details of the committed transaction.
sourcepub fn abort_transaction(&self) -> Option<&AbortTransactionResult>
pub fn abort_transaction(&self) -> Option<&AbortTransactionResult>
Contains the details of the aborted transaction.
sourcepub fn execute_statement(&self) -> Option<&ExecuteStatementResult>
pub fn execute_statement(&self) -> Option<&ExecuteStatementResult>
Contains the details of the executed statement.
sourcepub fn fetch_page(&self) -> Option<&FetchPageResult>
pub fn fetch_page(&self) -> Option<&FetchPageResult>
Contains the details of the fetched page.
source§impl SendCommandOutput
impl SendCommandOutput
sourcepub fn builder() -> SendCommandOutputBuilder
pub fn builder() -> SendCommandOutputBuilder
Creates a new builder-style object to manufacture SendCommandOutput.
Trait Implementations§
source§impl Clone for SendCommandOutput
impl Clone for SendCommandOutput
source§fn clone(&self) -> SendCommandOutput
fn clone(&self) -> SendCommandOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SendCommandOutput
impl Debug for SendCommandOutput
source§impl PartialEq for SendCommandOutput
impl PartialEq for SendCommandOutput
source§fn eq(&self, other: &SendCommandOutput) -> bool
fn eq(&self, other: &SendCommandOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for SendCommandOutput
impl RequestId for SendCommandOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for SendCommandOutput
Auto Trait Implementations§
impl Freeze for SendCommandOutput
impl RefUnwindSafe for SendCommandOutput
impl Send for SendCommandOutput
impl Sync for SendCommandOutput
impl Unpin for SendCommandOutput
impl UnwindSafe for SendCommandOutput
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