pub struct PatchBlock {
pub id: BlockId,
pub patch: Value,
}Expand description
Payload of Message::Patch: an RFC 6902 JSON patch applied to a live block.
Fields§
§id: BlockId§patch: ValueTrait Implementations§
Source§impl Clone for PatchBlock
impl Clone for PatchBlock
Source§fn clone(&self) -> PatchBlock
fn clone(&self) -> PatchBlock
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 PatchBlock
impl Debug for PatchBlock
Source§impl<'de> Deserialize<'de> for PatchBlock
impl<'de> Deserialize<'de> for PatchBlock
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
Source§impl PartialEq for PatchBlock
impl PartialEq for PatchBlock
Source§fn eq(&self, other: &PatchBlock) -> bool
fn eq(&self, other: &PatchBlock) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PatchBlock
impl Serialize for PatchBlock
impl StructuralPartialEq for PatchBlock
Auto Trait Implementations§
impl Freeze for PatchBlock
impl RefUnwindSafe for PatchBlock
impl Send for PatchBlock
impl Sync for PatchBlock
impl Unpin for PatchBlock
impl UnsafeUnpin for PatchBlock
impl UnwindSafe for PatchBlock
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