Struct square_api_client::models::CreateInvoiceRequest
source · [−]Expand description
This is a model struct for CreateInvoiceRequest type
Fields
invoice: Invoice
The invoice to create.
idempotency_key: Option<String>
A unique string that identifies the CreateInvoice
request. If you do not provide
idempotency_key
(or provide an empty string as the value), the endpoint treats each
request as independent.
For more information, see Idempotency.
Max Length: 128
Trait Implementations
sourceimpl Clone for CreateInvoiceRequest
impl Clone for CreateInvoiceRequest
sourcefn clone(&self) -> CreateInvoiceRequest
fn clone(&self) -> CreateInvoiceRequest
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 CreateInvoiceRequest
impl Debug for CreateInvoiceRequest
sourceimpl Default for CreateInvoiceRequest
impl Default for CreateInvoiceRequest
sourcefn default() -> CreateInvoiceRequest
fn default() -> CreateInvoiceRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<CreateInvoiceRequest> for CreateInvoiceRequest
impl PartialEq<CreateInvoiceRequest> for CreateInvoiceRequest
sourcefn eq(&self, other: &CreateInvoiceRequest) -> bool
fn eq(&self, other: &CreateInvoiceRequest) -> bool
sourceimpl Serialize for CreateInvoiceRequest
impl Serialize for CreateInvoiceRequest
impl Eq for CreateInvoiceRequest
impl StructuralEq for CreateInvoiceRequest
impl StructuralPartialEq for CreateInvoiceRequest
Auto Trait Implementations
impl RefUnwindSafe for CreateInvoiceRequest
impl Send for CreateInvoiceRequest
impl Sync for CreateInvoiceRequest
impl Unpin for CreateInvoiceRequest
impl UnwindSafe for CreateInvoiceRequest
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
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.