pub struct NewCategory {
pub name: String,
pub category_group_id: 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 create.
Fields§
§name: String§category_group_id: 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 NewCategory
impl Debug for NewCategory
Auto Trait Implementations§
impl Freeze for NewCategory
impl RefUnwindSafe for NewCategory
impl Send for NewCategory
impl Sync for NewCategory
impl Unpin for NewCategory
impl UnsafeUnpin for NewCategory
impl UnwindSafe for NewCategory
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