pub struct OperationBatch {
pub operations: Vec<CrdtOperation>,
pub total_bytes: usize,
pub created_at: u64,
}Expand description
Batch of operations ready to send
Fields§
§operations: Vec<CrdtOperation>Operations in this batch
total_bytes: usizeTotal size in bytes
created_at: u64Timestamp when batch was created
Implementations§
Trait Implementations§
Source§impl Clone for OperationBatch
impl Clone for OperationBatch
Source§fn clone(&self) -> OperationBatch
fn clone(&self) -> OperationBatch
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 OperationBatch
impl RefUnwindSafe for OperationBatch
impl Send for OperationBatch
impl Sync for OperationBatch
impl Unpin for OperationBatch
impl UnwindSafe for OperationBatch
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