pub struct Invoice {Show 14 fields
pub id: Option<i32>,
pub invoice_number: String,
pub comment: Option<String>,
pub customer: Box<Customer>,
pub user: Box<User>,
pub created_at: String,
pub total: Option<f32>,
pub tax: Option<f32>,
pub currency: String,
pub due_days: Option<i32>,
pub vat: Option<f32>,
pub status: Option<String>,
pub payment_date: Option<String>,
pub meta_fields: Option<Vec<InvoiceMeta>>,
}Fields§
§id: Option<i32>§invoice_number: String§comment: Option<String>§customer: Box<Customer>§user: Box<User>§created_at: String§total: Option<f32>§tax: Option<f32>§currency: String§due_days: Option<i32>§vat: Option<f32>§status: Option<String>§payment_date: Option<String>§meta_fields: Option<Vec<InvoiceMeta>>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Invoice
impl<'de> Deserialize<'de> for Invoice
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
impl StructuralPartialEq for Invoice
Auto Trait Implementations§
impl Freeze for Invoice
impl RefUnwindSafe for Invoice
impl Send for Invoice
impl Sync for Invoice
impl Unpin for Invoice
impl UnwindSafe for Invoice
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