pub struct NoteCreateFields {
pub note_kind: String,
pub content: String,
pub properties: BTreeMap<String, PropertyValue>,
pub tags: Vec<String>,
pub salience: Option<f64>,
pub decay_factor: Option<f64>,
}Expand description
Fields staged for a new note.
Fields§
§note_kind: StringPack-declared note kind string (e.g. "observation"); not a closed enum.
content: String§properties: BTreeMap<String, PropertyValue>§salience: Option<f64>§decay_factor: Option<f64>Trait Implementations§
Source§impl Clone for NoteCreateFields
impl Clone for NoteCreateFields
Source§fn clone(&self) -> NoteCreateFields
fn clone(&self) -> NoteCreateFields
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NoteCreateFields
impl Debug for NoteCreateFields
Source§impl<'de> Deserialize<'de> for NoteCreateFields
impl<'de> Deserialize<'de> for NoteCreateFields
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
Source§impl PartialEq for NoteCreateFields
impl PartialEq for NoteCreateFields
Source§impl Serialize for NoteCreateFields
impl Serialize for NoteCreateFields
impl StructuralPartialEq for NoteCreateFields
Auto Trait Implementations§
impl Freeze for NoteCreateFields
impl RefUnwindSafe for NoteCreateFields
impl Send for NoteCreateFields
impl Sync for NoteCreateFields
impl Unpin for NoteCreateFields
impl UnsafeUnpin for NoteCreateFields
impl UnwindSafe for NoteCreateFields
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