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 Clone for SaveCategory
impl Clone for SaveCategory
Source§fn clone(&self) -> SaveCategory
fn clone(&self) -> SaveCategory
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SaveCategory
impl Debug for SaveCategory
Source§impl PartialEq for SaveCategory
impl PartialEq for SaveCategory
Source§impl Serialize for SaveCategory
impl Serialize for SaveCategory
impl StructuralPartialEq 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