pub struct Note {
pub header: Header,
pub kind: NoteKind,
pub status: NoteStatus,
pub content: String,
pub properties: BTreeMap<String, PropertyValue>,
pub tags: Vec<String>,
pub salience: f64,
pub decay_factor: f64,
pub expires_at: Option<Timestamp>,
pub deleted_at: Option<Timestamp>,
}Expand description
A note record — temporal-referential content plus free-form properties.
Fields§
§header: Header§kind: NoteKind§status: NoteStatus§content: String§properties: BTreeMap<String, PropertyValue>§salience: f64§decay_factor: f64§expires_at: Option<Timestamp>§deleted_at: Option<Timestamp>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 UnsafeUnpin 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