pub struct BatchUpdate {
pub updates: Vec<UpdateOperation>,
pub tick: Tick,
pub atomic: bool,
}Expand description
Batch of updates to apply atomically.
Fields§
§updates: Vec<UpdateOperation>Updates to apply.
tick: TickTick during which these updates should be applied.
atomic: boolWhether all updates must succeed (atomic).
Trait Implementations§
Source§impl Clone for BatchUpdate
impl Clone for BatchUpdate
Source§fn clone(&self) -> BatchUpdate
fn clone(&self) -> BatchUpdate
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 BatchUpdate
impl Debug for BatchUpdate
Source§impl<'de> Deserialize<'de> for BatchUpdate
impl<'de> Deserialize<'de> for BatchUpdate
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
Auto Trait Implementations§
impl Freeze for BatchUpdate
impl RefUnwindSafe for BatchUpdate
impl Send for BatchUpdate
impl Sync for BatchUpdate
impl Unpin for BatchUpdate
impl UnsafeUnpin for BatchUpdate
impl UnwindSafe for BatchUpdate
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