pub struct NotePatch {
pub content: Option<String>,
pub salience: Option<Option<f64>>,
pub decay_factor: Option<Option<f64>>,
pub properties: Option<BTreeMap<String, PropertyValue>>,
pub tags: Option<Vec<String>>,
}Expand description
Note fields to mutate; nested options distinguish unchanged, clear, and set.
Fields§
§content: Option<String>§salience: Option<Option<f64>>§decay_factor: Option<Option<f64>>§properties: Option<BTreeMap<String, PropertyValue>>Trait Implementations§
Source§impl<'de> Deserialize<'de> for NotePatch
impl<'de> Deserialize<'de> for NotePatch
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
impl StructuralPartialEq for NotePatch
Auto Trait Implementations§
impl Forget for NotePatch
impl Freeze for NotePatchwhere
*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 NotePatch
impl RefUnwindSafe for NotePatch
impl Send for NotePatchwhere
RawVecInner: Send,
NodeRef<Owned, String, PropertyValue, LeafOrInternal>: Send,
BoxRaw<(String, PropertyValue)>: Send,
impl Sync for NotePatchwhere
RawVecInner: Sync,
NodeRef<Owned, String, PropertyValue, LeafOrInternal>: Sync,
BoxRaw<(String, PropertyValue)>: Sync,
impl Unpin for NotePatch
impl UnsafeUnpin for NotePatchwhere
*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 NotePatch
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