pub struct KeyedBatchStep {
pub key: Vec<u8>,
pub payload: Vec<u8>,
}Expand description
One keyed write in a propose_keyed_batch.
Fields§
§key: Vec<u8>Shard routing key.
payload: Vec<u8>Application-encoded command bytes.
Trait Implementations§
Source§impl Clone for KeyedBatchStep
impl Clone for KeyedBatchStep
Source§fn clone(&self) -> KeyedBatchStep
fn clone(&self) -> KeyedBatchStep
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 KeyedBatchStep
impl RefUnwindSafe for KeyedBatchStep
impl Send for KeyedBatchStep
impl Sync for KeyedBatchStep
impl Unpin for KeyedBatchStep
impl UnsafeUnpin for KeyedBatchStep
impl UnwindSafe for KeyedBatchStep
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