pub struct QueuedWrite {
pub op_id: String,
pub partition_key: String,
pub batch: WriteBatch,
}Expand description
A mutation accepted for asynchronous fan-out: the fully-resolved,
epoch-stamped WriteBatch the sync path would have dispatched, plus the
correlation/idempotency id and the ordering key.
Fields§
§op_id: StringCorrelation handle and downstream idempotency key.
partition_key: StringThe partition id, used as the queue partition key so all ops for one logical partition stay ordered through the fan-out.
batch: WriteBatchThe resolved op(s), identical to what the sync path would deliver.
Trait Implementations§
Source§impl Clone for QueuedWrite
impl Clone for QueuedWrite
Source§fn clone(&self) -> QueuedWrite
fn clone(&self) -> QueuedWrite
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 moreAuto Trait Implementations§
impl Freeze for QueuedWrite
impl RefUnwindSafe for QueuedWrite
impl Send for QueuedWrite
impl Sync for QueuedWrite
impl Unpin for QueuedWrite
impl UnsafeUnpin for QueuedWrite
impl UnwindSafe for QueuedWrite
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