pub struct SaveCategory {
pub name: Option<String>,
pub category_group_id: Option<Uuid>,
pub note: Option<String>,
pub goal_target: Option<i64>,
pub goal_target_date: Option<NaiveDate>,
pub goal_needs_whole_amount: Option<bool>,
}Expand description
The category to update. Only specified (non-None) fields will be changed.
Fields§
§name: Option<String>§category_group_id: Option<Uuid>§note: Option<String>§goal_target: Option<i64>§goal_target_date: Option<NaiveDate>§goal_needs_whole_amount: Option<bool>Trait Implementations§
Source§impl Debug for SaveCategory
impl Debug for SaveCategory
Auto Trait Implementations§
impl Freeze for SaveCategory
impl RefUnwindSafe for SaveCategory
impl Send for SaveCategory
impl Sync for SaveCategory
impl Unpin for SaveCategory
impl UnsafeUnpin for SaveCategory
impl UnwindSafe for SaveCategory
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