pub struct MovementSuggestionUpdate {
pub name: String,
pub split_key: Option<Option<i64>>,
pub value: String,
pub extra: Map<String, Value>,
}Fields§
§name: StringField to add or modify. Existing entries are matched by name and splitKey.
split_key: Option<Option<i64>>Split-child key, or null/omitted for a global suggestion. Requires the split-booking feature when non-null.
None leaves the field out, Some(None) sends null.
value: StringString value; an empty string removes a matching suggestion. Dates use YYYY-MM-DD, amounts use minor units, IDs use decimal strings, booleans use true/false strings.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for MovementSuggestionUpdate
impl Clone for MovementSuggestionUpdate
Source§impl Debug for MovementSuggestionUpdate
impl Debug for MovementSuggestionUpdate
Source§impl Default for MovementSuggestionUpdate
impl Default for MovementSuggestionUpdate
Source§impl<'de> Deserialize<'de> for MovementSuggestionUpdate
impl<'de> Deserialize<'de> for MovementSuggestionUpdate
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 MovementSuggestionUpdate
impl PartialEq for MovementSuggestionUpdate
Source§impl Serialize for MovementSuggestionUpdate
impl Serialize for MovementSuggestionUpdate
impl StructuralPartialEq for MovementSuggestionUpdate
Auto Trait Implementations§
impl Freeze for MovementSuggestionUpdate
impl RefUnwindSafe for MovementSuggestionUpdate
impl Send for MovementSuggestionUpdate
impl Sync for MovementSuggestionUpdate
impl Unpin for MovementSuggestionUpdate
impl UnsafeUnpin for MovementSuggestionUpdate
impl UnwindSafe for MovementSuggestionUpdate
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