pub struct CommitResponse {
pub namespace_id: NamespaceId,
pub commit_id: CommitId,
pub committed_seq: ChangeSeq,
}Expand description
Result of one commit.
Every commit resolves to this envelope — path-oriented operations and explicit commits, embedded or remote. The commit id is the caller’s reconciliation handle: resubmitting the same request with the same id replays this result instead of committing twice.
Fields§
§namespace_id: NamespaceIdNamespace that changed.
commit_id: CommitIdIdempotency key the commit landed under: caller-supplied, or generated on the caller’s behalf when the request carried none.
committed_seq: ChangeSeqSequence number where the commit became visible.
Trait Implementations§
Source§impl Clone for CommitResponse
impl Clone for CommitResponse
Source§fn clone(&self) -> CommitResponse
fn clone(&self) -> CommitResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CommitResponse
impl Debug for CommitResponse
Source§impl<'de> Deserialize<'de> for CommitResponse
impl<'de> Deserialize<'de> for CommitResponse
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
impl Eq for CommitResponse
Source§impl PartialEq for CommitResponse
impl PartialEq for CommitResponse
Source§impl Serialize for CommitResponse
impl Serialize for CommitResponse
impl StructuralPartialEq for CommitResponse
Auto Trait Implementations§
impl Freeze for CommitResponse
impl RefUnwindSafe for CommitResponse
impl Send for CommitResponse
impl Sync for CommitResponse
impl Unpin for CommitResponse
impl UnsafeUnpin for CommitResponse
impl UnwindSafe for CommitResponse
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