pub struct NoteUpdated {
pub title: Option<String>,
pub content: Option<String>,
pub content_hash: Option<ContentHash>,
pub metadata: Option<Value>,
}Expand description
Payload for NOTE_UPDATED events (JSON merge-patch semantics).
Fields§
§title: Option<String>§content: Option<String>§content_hash: Option<ContentHash>§metadata: Option<Value>Trait Implementations§
Source§impl Clone for NoteUpdated
impl Clone for NoteUpdated
Source§fn clone(&self) -> NoteUpdated
fn clone(&self) -> NoteUpdated
Returns a duplicate of the value. Read more
1.0.0 · 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 NoteUpdated
impl Debug for NoteUpdated
Source§impl<'de> Deserialize<'de> for NoteUpdated
impl<'de> Deserialize<'de> for NoteUpdated
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 EventPayload for NoteUpdated
impl EventPayload for NoteUpdated
Auto Trait Implementations§
impl Freeze for NoteUpdated
impl RefUnwindSafe for NoteUpdated
impl Send for NoteUpdated
impl Sync for NoteUpdated
impl Unpin for NoteUpdated
impl UnwindSafe for NoteUpdated
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