pub struct UpdateNote {
pub title: Option<String>,
pub body: Option<String>,
pub tags: Option<Vec<String>>,
pub references: Option<Vec<String>>,
}Expand description
Parameters for updating an existing note.
Fields§
§title: Option<String>§body: Option<String>§references: Option<Vec<String>>References to external resources (source code paths, URLs, documentation links, etc.)
Trait Implementations§
Source§impl Clone for UpdateNote
impl Clone for UpdateNote
Source§fn clone(&self) -> UpdateNote
fn clone(&self) -> UpdateNote
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 UpdateNote
impl Debug for UpdateNote
Source§impl Default for UpdateNote
impl Default for UpdateNote
Source§fn default() -> UpdateNote
fn default() -> UpdateNote
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UpdateNote
impl RefUnwindSafe for UpdateNote
impl Send for UpdateNote
impl Sync for UpdateNote
impl Unpin for UpdateNote
impl UnwindSafe for UpdateNote
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