pub struct Note {
pub id: usize,
pub created: usize,
pub owner: usize,
pub title: String,
pub journal: usize,
pub content: String,
pub edited: usize,
pub dir: usize,
pub tags: Vec<String>,
pub is_global: bool,
}Fields§
§id: usize§created: usize§owner: usize§title: String§journal: usizeThe ID of the Journal this note belongs to.
The note is subject to the settings set for the journal it’s in.
content: String§edited: usize§dir: usizeThe “id” of the directoryy this note is in.
Directories are held in the journal in the dirs column.
An array of tags associated with the note.
is_global: boolImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Note
impl<'de> Deserialize<'de> for Note
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
Auto Trait Implementations§
impl Freeze for Note
impl RefUnwindSafe for Note
impl Send for Note
impl Sync for Note
impl Unpin for Note
impl UnwindSafe for Note
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