pub struct UserRulesUpdate {
pub rules: Vec<UserRuleCreate>,
pub extra: Map<String, Value>,
}Expand description
Complete replacement of an accounting period’s rules. Existing rule IDs are discarded.
Fields§
§rules: Vec<UserRuleCreate>All rules to retain. An empty array removes every rule for this period.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for UserRulesUpdate
impl Clone for UserRulesUpdate
Source§impl Debug for UserRulesUpdate
impl Debug for UserRulesUpdate
Source§impl Default for UserRulesUpdate
impl Default for UserRulesUpdate
Source§impl<'de> Deserialize<'de> for UserRulesUpdate
impl<'de> Deserialize<'de> for UserRulesUpdate
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 UserRulesUpdate
impl PartialEq for UserRulesUpdate
Source§impl Serialize for UserRulesUpdate
impl Serialize for UserRulesUpdate
impl StructuralPartialEq for UserRulesUpdate
Auto Trait Implementations§
impl Freeze for UserRulesUpdate
impl RefUnwindSafe for UserRulesUpdate
impl Send for UserRulesUpdate
impl Sync for UserRulesUpdate
impl Unpin for UserRulesUpdate
impl UnsafeUnpin for UserRulesUpdate
impl UnwindSafe for UserRulesUpdate
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