[][src]Struct rusoto_qldb_session::CommitTransactionRequest

pub struct CommitTransactionRequest {
    pub commit_digest: Bytes,
    pub transaction_id: String,
}

Contains the details of the transaction to commit.

Fields

commit_digest: Bytes

Specifies the commit digest for the transaction to commit. For every active transaction, the commit digest must be passed. QLDB validates CommitDigest and rejects the commit with an error if the digest computed on the client does not match the digest computed by QLDB.

The purpose of the CommitDigest parameter is to ensure that QLDB commits a transaction if and only if the server has processed the exact set of statements sent by the client, in the same order that client sent them, and with no duplicates.

transaction_id: String

Specifies the transaction ID of the transaction to commit.

Trait Implementations

impl Clone for CommitTransactionRequest[src]

impl Debug for CommitTransactionRequest[src]

impl Default for CommitTransactionRequest[src]

impl PartialEq<CommitTransactionRequest> for CommitTransactionRequest[src]

impl Serialize for CommitTransactionRequest[src]

impl StructuralPartialEq for CommitTransactionRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.