Struct square_api_client::models::UpdateInvoiceRequest
source · [−]pub struct UpdateInvoiceRequest {
pub invoice: Invoice,
pub idempotency_key: Option<String>,
pub fields_to_clear: Option<Vec<String>>,
}
Expand description
This is a model struct for UpdateInvoiceRequest type.
Fields
invoice: Invoice
The invoice fields to update. The current invoice version must be specified in the version
field. For more information, see Update an
Invoice.
idempotency_key: Option<String>
A unique string that identifies the UpdateInvoice
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.
fields_to_clear: Option<Vec<String>>
The list of fields to clear. For examples, see Update an Invoice.
Trait Implementations
sourceimpl Clone for UpdateInvoiceRequest
impl Clone for UpdateInvoiceRequest
sourcefn clone(&self) -> UpdateInvoiceRequest
fn clone(&self) -> UpdateInvoiceRequest
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 UpdateInvoiceRequest
impl Debug for UpdateInvoiceRequest
sourceimpl Default for UpdateInvoiceRequest
impl Default for UpdateInvoiceRequest
sourcefn default() -> UpdateInvoiceRequest
fn default() -> UpdateInvoiceRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<UpdateInvoiceRequest> for UpdateInvoiceRequest
impl PartialEq<UpdateInvoiceRequest> for UpdateInvoiceRequest
sourcefn eq(&self, other: &UpdateInvoiceRequest) -> bool
fn eq(&self, other: &UpdateInvoiceRequest) -> bool
sourceimpl Serialize for UpdateInvoiceRequest
impl Serialize for UpdateInvoiceRequest
impl Eq for UpdateInvoiceRequest
impl StructuralEq for UpdateInvoiceRequest
impl StructuralPartialEq for UpdateInvoiceRequest
Auto Trait Implementations
impl RefUnwindSafe for UpdateInvoiceRequest
impl Send for UpdateInvoiceRequest
impl Sync for UpdateInvoiceRequest
impl Unpin for UpdateInvoiceRequest
impl UnwindSafe for UpdateInvoiceRequest
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.