pub struct SendCommandRequest {
pub abort_transaction: Option<AbortTransactionRequest>,
pub commit_transaction: Option<CommitTransactionRequest>,
pub end_session: Option<EndSessionRequest>,
pub execute_statement: Option<ExecuteStatementRequest>,
pub fetch_page: Option<FetchPageRequest>,
pub session_token: Option<String>,
pub start_session: Option<StartSessionRequest>,
pub start_transaction: Option<StartTransactionRequest>,
}Fields§
§abort_transaction: Option<AbortTransactionRequest>Command to abort the current transaction.
commit_transaction: Option<CommitTransactionRequest>Command to commit the specified transaction.
end_session: Option<EndSessionRequest>Command to end the current session.
execute_statement: Option<ExecuteStatementRequest>Command to execute a statement in the specified transaction.
fetch_page: Option<FetchPageRequest>Command to fetch a page.
session_token: Option<String>Specifies the session token for the current command. A session token is constant throughout the life of the session.
To obtain a session token, run the StartSession command. This SessionToken is required for every subsequent command that is issued during the current session.
start_session: Option<StartSessionRequest>Command to start a new session. A session token is obtained as part of the response.
start_transaction: Option<StartTransactionRequest>Command to start a new transaction.
Trait Implementations§
Source§impl Clone for SendCommandRequest
impl Clone for SendCommandRequest
Source§fn clone(&self) -> SendCommandRequest
fn clone(&self) -> SendCommandRequest
Returns a duplicate 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 SendCommandRequest
impl Debug for SendCommandRequest
Source§impl Default for SendCommandRequest
impl Default for SendCommandRequest
Source§fn default() -> SendCommandRequest
fn default() -> SendCommandRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for SendCommandRequest
impl PartialEq for SendCommandRequest
Source§impl Serialize for SendCommandRequest
impl Serialize for SendCommandRequest
impl StructuralPartialEq for SendCommandRequest
Auto Trait Implementations§
impl !Freeze for SendCommandRequest
impl RefUnwindSafe for SendCommandRequest
impl Send for SendCommandRequest
impl Sync for SendCommandRequest
impl Unpin for SendCommandRequest
impl UnwindSafe for SendCommandRequest
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