pub struct EditPayload {
pub new_text: String,
}Expand description
Payload for edit actions
Fields§
§new_text: StringTrait Implementations§
Source§impl Clone for EditPayload
impl Clone for EditPayload
Source§fn clone(&self) -> EditPayload
fn clone(&self) -> EditPayload
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 EditPayload
impl Debug for EditPayload
Source§impl<'de> Deserialize<'de> for EditPayload
impl<'de> Deserialize<'de> for EditPayload
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 EditPayload
impl PartialEq for EditPayload
Source§fn eq(&self, other: &EditPayload) -> bool
fn eq(&self, other: &EditPayload) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EditPayload
impl Serialize for EditPayload
impl StructuralPartialEq for EditPayload
Auto Trait Implementations§
impl Freeze for EditPayload
impl RefUnwindSafe for EditPayload
impl Send for EditPayload
impl Sync for EditPayload
impl Unpin for EditPayload
impl UnsafeUnpin for EditPayload
impl UnwindSafe for EditPayload
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