pub struct CreateInvoiceParams {
pub location_id: String,
pub contact_id: String,
pub items: Vec<InvoiceItem>,
pub title: Option<String>,
pub issue_date: Option<String>,
pub due_date: Option<String>,
pub currency: Option<String>,
pub discount: Option<Value>,
}Fields§
§location_id: String§contact_id: String§items: Vec<InvoiceItem>§title: Option<String>§issue_date: Option<String>§due_date: Option<String>§currency: Option<String>§discount: Option<Value>Trait Implementations§
Source§impl Clone for CreateInvoiceParams
impl Clone for CreateInvoiceParams
Source§fn clone(&self) -> CreateInvoiceParams
fn clone(&self) -> CreateInvoiceParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CreateInvoiceParams
impl Debug for CreateInvoiceParams
Source§impl Default for CreateInvoiceParams
impl Default for CreateInvoiceParams
Source§fn default() -> CreateInvoiceParams
fn default() -> CreateInvoiceParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateInvoiceParams
impl<'de> Deserialize<'de> for CreateInvoiceParams
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 Freeze for CreateInvoiceParams
impl RefUnwindSafe for CreateInvoiceParams
impl Send for CreateInvoiceParams
impl Sync for CreateInvoiceParams
impl Unpin for CreateInvoiceParams
impl UnsafeUnpin for CreateInvoiceParams
impl UnwindSafe for CreateInvoiceParams
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