pub struct CreateExpense {
pub expense_type_id: Option<String>,
pub transaction_date: Option<String>,
pub transaction_amount: Option<Money>,
pub business_purpose: Option<String>,
pub payment_type_id: Option<String>,
pub location_id: Option<String>,
pub vendor: Option<Vendor>,
pub comment: Option<String>,
pub custom_data: Option<Vec<CustomData>>,
}Fields§
§expense_type_id: Option<String>§transaction_date: Option<String>§transaction_amount: Option<Money>§business_purpose: Option<String>§payment_type_id: Option<String>§location_id: Option<String>§vendor: Option<Vendor>§comment: Option<String>§custom_data: Option<Vec<CustomData>>Trait Implementations§
Source§impl Clone for CreateExpense
impl Clone for CreateExpense
Source§impl Debug for CreateExpense
impl Debug for CreateExpense
Source§impl Default for CreateExpense
impl Default for CreateExpense
Source§impl<'de> Deserialize<'de> for CreateExpense
impl<'de> Deserialize<'de> for CreateExpense
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
Auto Trait Implementations§
impl Forget for CreateExpense
impl Freeze for CreateExpense
impl RefUnwindSafe for CreateExpense
impl Send for CreateExpense
impl Sync for CreateExpense
impl Unpin for CreateExpense
impl UnsafeUnpin for CreateExpense
impl UnwindSafe for CreateExpense
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