pub struct BatchOperation {
pub id: u64,
pub message: Value,
pub is_pipeline: bool,
pub depends_on: Option<u64>,
}Expand description
A single operation in a batch
Fields§
§id: u64§message: Value§is_pipeline: bool§depends_on: Option<u64>Trait Implementations§
Source§impl Clone for BatchOperation
impl Clone for BatchOperation
Source§fn clone(&self) -> BatchOperation
fn clone(&self) -> BatchOperation
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 BatchOperation
impl RefUnwindSafe for BatchOperation
impl Send for BatchOperation
impl Sync for BatchOperation
impl Unpin for BatchOperation
impl UnwindSafe for BatchOperation
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