pub struct CreateNote {
pub title: String,
pub body: String,
pub tags: Vec<String>,
pub references: Vec<String>,
}Expand description
Parameters for creating a new note.
Fields§
§title: String§body: String§references: Vec<String>References to external resources (source code paths, URLs, documentation links, etc.)
Trait Implementations§
Source§impl Clone for CreateNote
impl Clone for CreateNote
Source§fn clone(&self) -> CreateNote
fn clone(&self) -> CreateNote
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 moreAuto Trait Implementations§
impl Freeze for CreateNote
impl RefUnwindSafe for CreateNote
impl Send for CreateNote
impl Sync for CreateNote
impl Unpin for CreateNote
impl UnwindSafe for CreateNote
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