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 Freeze for NotePatch
impl RefUnwindSafe for NotePatch
impl Send for NotePatch
impl Sync for NotePatch
impl Unpin for NotePatch
impl UnsafeUnpin for NotePatch
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