Struct ehelply::models::get_invoice_response::GetInvoiceResponse
source · [−]pub struct GetInvoiceResponse {
pub invoice_uuid: String,
pub line_items: Vec<LineItem>,
pub subtotal: i32,
pub discounts: Vec<Discount>,
pub taxes: Vec<Tax>,
pub total: i32,
pub notes: Vec<Note>,
pub paid: Option<bool>,
pub created_at: String,
pub update_at: String,
pub deleted_at: Option<String>,
}
Fields
invoice_uuid: String
line_items: Vec<LineItem>
subtotal: i32
discounts: Vec<Discount>
taxes: Vec<Tax>
total: i32
notes: Vec<Note>
paid: Option<bool>
created_at: String
update_at: String
deleted_at: Option<String>
Implementations
Trait Implementations
sourceimpl Clone for GetInvoiceResponse
impl Clone for GetInvoiceResponse
sourcefn clone(&self) -> GetInvoiceResponse
fn clone(&self) -> GetInvoiceResponse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for GetInvoiceResponse
impl Debug for GetInvoiceResponse
sourceimpl Default for GetInvoiceResponse
impl Default for GetInvoiceResponse
sourcefn default() -> GetInvoiceResponse
fn default() -> GetInvoiceResponse
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for GetInvoiceResponse
impl<'de> Deserialize<'de> for GetInvoiceResponse
sourcefn 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
sourceimpl PartialEq<GetInvoiceResponse> for GetInvoiceResponse
impl PartialEq<GetInvoiceResponse> for GetInvoiceResponse
sourcefn eq(&self, other: &GetInvoiceResponse) -> bool
fn eq(&self, other: &GetInvoiceResponse) -> bool
sourceimpl Serialize for GetInvoiceResponse
impl Serialize for GetInvoiceResponse
impl StructuralPartialEq for GetInvoiceResponse
Auto Trait Implementations
impl RefUnwindSafe for GetInvoiceResponse
impl Send for GetInvoiceResponse
impl Sync for GetInvoiceResponse
impl Unpin for GetInvoiceResponse
impl UnwindSafe for GetInvoiceResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more