Struct PublicOperationCommit
pub struct PublicOperationCommit {
pub results: Vec<Value>,
pub cursor: Option<String>,
}Expand description
The typed outcome of one committed — or exactly replayed — public one-shot operation.
results are wire-encoded statement results (the dedicated tagged SQL codec), so a stored
replay is byte-equivalent to the fresh commit; the hosts wrap this in their own success
envelope (decision C7 — routing metadata and the HTTP layer stay per-host).
Fields§
§results: Vec<Value>One wire-encoded result per statement — always commit’s buffered set, never the
coordinator loop’s per-statement returns (see OneShotBackend::commit_public_operation).
cursor: Option<String>The commit cursor, absent when the operation had zero captured effects.
Trait Implementations§
§impl Clone for PublicOperationCommit
impl Clone for PublicOperationCommit
§fn clone(&self) -> PublicOperationCommit
fn clone(&self) -> PublicOperationCommit
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 moreAuto Trait Implementations§
impl Freeze for PublicOperationCommit
impl RefUnwindSafe for PublicOperationCommit
impl Send for PublicOperationCommit
impl Sync for PublicOperationCommit
impl Unpin for PublicOperationCommit
impl UnsafeUnpin for PublicOperationCommit
impl UnwindSafe for PublicOperationCommit
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