Struct square_api_client::models::CompletePaymentRequest
source · [−]Expand description
This is a model struct for CompletePaymentRequest type.
Fields
version_token: Option<String>
Used for optimistic concurrency. This opaque token identifies the current [Payment] version that the caller expects. If the server has a different version of the Payment, the update fails and a response with a VERSION_MISMATCH error is returned.
Trait Implementations
sourceimpl Clone for CompletePaymentRequest
impl Clone for CompletePaymentRequest
sourcefn clone(&self) -> CompletePaymentRequest
fn clone(&self) -> CompletePaymentRequest
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 CompletePaymentRequest
impl Debug for CompletePaymentRequest
sourceimpl Default for CompletePaymentRequest
impl Default for CompletePaymentRequest
sourcefn default() -> CompletePaymentRequest
fn default() -> CompletePaymentRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<CompletePaymentRequest> for CompletePaymentRequest
impl PartialEq<CompletePaymentRequest> for CompletePaymentRequest
sourcefn eq(&self, other: &CompletePaymentRequest) -> bool
fn eq(&self, other: &CompletePaymentRequest) -> bool
sourceimpl Serialize for CompletePaymentRequest
impl Serialize for CompletePaymentRequest
impl Eq for CompletePaymentRequest
impl StructuralEq for CompletePaymentRequest
impl StructuralPartialEq for CompletePaymentRequest
Auto Trait Implementations
impl RefUnwindSafe for CompletePaymentRequest
impl Send for CompletePaymentRequest
impl Sync for CompletePaymentRequest
impl Unpin for CompletePaymentRequest
impl UnwindSafe for CompletePaymentRequest
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.