pub struct AtomicCommit {
pub transaction_id: String,
pub base_revision: u64,
pub commit_revision: u64,
pub status: TransactionStatus,
pub state_before: u64,
pub state_after: u64,
pub rows: Vec<StoredRow>,
pub duplicate: bool,
pub payload_binding: Option<PayloadBinding>,
}Fields§
§transaction_id: String§base_revision: u64§commit_revision: u64§status: TransactionStatus§state_before: u64§state_after: u64§rows: Vec<StoredRow>§duplicate: bool§payload_binding: Option<PayloadBinding>How a duplicate was recognized. Present only on a duplicate, and only
when the caller’s request could be compared with what was committed
(Verified) or was deliberately judged by id alone (LegacyUnverified).
Trait Implementations§
Source§impl Clone for AtomicCommit
impl Clone for AtomicCommit
Source§impl Debug for AtomicCommit
impl Debug for AtomicCommit
Source§impl<'de> Deserialize<'de> for AtomicCommit
impl<'de> Deserialize<'de> for AtomicCommit
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AtomicCommit
impl RefUnwindSafe for AtomicCommit
impl Send for AtomicCommit
impl Sync for AtomicCommit
impl Unpin for AtomicCommit
impl UnsafeUnpin for AtomicCommit
impl UnwindSafe for AtomicCommit
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