pub struct ExpenseCategory {
pub updated_at: Option<String>,
pub name: Option<String>,
pub unit_price: Option<f64>,
pub created_at: Option<String>,
pub id: Option<i64>,
pub unit_name: Option<String>,
pub is_active: Option<bool>,
}Fields§
§updated_at: Option<String>Date and time the expense category was last updated.
name: Option<String>The name of the expense category.
unit_price: Option<f64>The unit price of the expense category.
created_at: Option<String>Date and time the expense category was created.
id: Option<i64>Unique ID for the expense category.
unit_name: Option<String>The unit name of the expense category.
is_active: Option<bool>Whether the expense category is active or archived.
Trait Implementations§
Source§impl Debug for ExpenseCategory
impl Debug for ExpenseCategory
Source§impl Default for ExpenseCategory
impl Default for ExpenseCategory
Source§fn default() -> ExpenseCategory
fn default() -> ExpenseCategory
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExpenseCategory
impl<'de> Deserialize<'de> for ExpenseCategory
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 Display for ExpenseCategory
impl Display for ExpenseCategory
Auto Trait Implementations§
impl Freeze for ExpenseCategory
impl RefUnwindSafe for ExpenseCategory
impl Send for ExpenseCategory
impl Sync for ExpenseCategory
impl Unpin for ExpenseCategory
impl UnwindSafe for ExpenseCategory
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