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§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 Forget for NoteCreateFields
impl Freeze for NoteCreateFieldswhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const LeafNode<String, PropertyValue> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, PropertyValue)>>: Freeze,
PhantomData<String>: Freeze,
impl Move for NoteCreateFields
impl RefUnwindSafe for NoteCreateFields
impl Send for NoteCreateFieldswhere
RawVecInner: Send,
NodeRef<Owned, String, PropertyValue, LeafOrInternal>: Send,
BoxRaw<(String, PropertyValue)>: Send,
impl Sync for NoteCreateFieldswhere
RawVecInner: Sync,
NodeRef<Owned, String, PropertyValue, LeafOrInternal>: Sync,
BoxRaw<(String, PropertyValue)>: Sync,
impl Unpin for NoteCreateFields
impl UnsafeUnpin for NoteCreateFieldswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const LeafNode<String, PropertyValue> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, PropertyValue)>>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
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