pub struct DynamicSlotPatch {
pub index: usize,
pub html: String,
}Expand description
Dynamic slot update sent by a diff server message.
Fields§
§index: usize§html: StringTrait Implementations§
Source§impl Clone for DynamicSlotPatch
impl Clone for DynamicSlotPatch
Source§fn clone(&self) -> DynamicSlotPatch
fn clone(&self) -> DynamicSlotPatch
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 DynamicSlotPatch
impl Debug for DynamicSlotPatch
Source§impl<'de> Deserialize<'de> for DynamicSlotPatch
impl<'de> Deserialize<'de> for DynamicSlotPatch
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 DynamicSlotPatch
impl PartialEq for DynamicSlotPatch
Source§fn eq(&self, other: &DynamicSlotPatch) -> bool
fn eq(&self, other: &DynamicSlotPatch) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DynamicSlotPatch
impl Serialize for DynamicSlotPatch
impl Eq for DynamicSlotPatch
impl StructuralPartialEq for DynamicSlotPatch
Auto Trait Implementations§
impl Freeze for DynamicSlotPatch
impl RefUnwindSafe for DynamicSlotPatch
impl Send for DynamicSlotPatch
impl Sync for DynamicSlotPatch
impl Unpin for DynamicSlotPatch
impl UnsafeUnpin for DynamicSlotPatch
impl UnwindSafe for DynamicSlotPatch
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