pub struct NoteUpdate {
pub text: String,
pub updated_by: String,
}
Expand description
The updated note.
Fields§
§text: String
The updated note text.
updated_by: String
The principal that updated the note.
Trait Implementations§
Source§impl Clone for NoteUpdate
impl Clone for NoteUpdate
Source§fn clone(&self) -> NoteUpdate
fn clone(&self) -> NoteUpdate
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 NoteUpdate
impl Debug for NoteUpdate
Source§impl Default for NoteUpdate
impl Default for NoteUpdate
Source§fn default() -> NoteUpdate
fn default() -> NoteUpdate
Returns the “default value” for a type. Read more
Source§impl PartialEq for NoteUpdate
impl PartialEq for NoteUpdate
Source§impl Serialize for NoteUpdate
impl Serialize for NoteUpdate
impl StructuralPartialEq for NoteUpdate
Auto Trait Implementations§
impl Freeze for NoteUpdate
impl RefUnwindSafe for NoteUpdate
impl Send for NoteUpdate
impl Sync for NoteUpdate
impl Unpin for NoteUpdate
impl UnwindSafe for NoteUpdate
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