pub struct PatchMessage {
pub seq: u64,
pub ops: Vec<PatchOp>,
}Expand description
A batch of ordered patch operations the client must apply to reconcile its DOM with server state.
Fields§
§seq: u64Sequence number echoed from the client event that triggered these patches, enabling the client to correlate responses.
ops: Vec<PatchOp>Ordered list of DOM operations.
Trait Implementations§
Source§impl Clone for PatchMessage
impl Clone for PatchMessage
Source§fn clone(&self) -> PatchMessage
fn clone(&self) -> PatchMessage
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 PatchMessage
impl Debug for PatchMessage
Source§impl<'de> Deserialize<'de> for PatchMessage
impl<'de> Deserialize<'de> for PatchMessage
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 PatchMessage
impl RefUnwindSafe for PatchMessage
impl Send for PatchMessage
impl Sync for PatchMessage
impl Unpin for PatchMessage
impl UnsafeUnpin for PatchMessage
impl UnwindSafe for PatchMessage
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