Struct square_api_client::models::UpdatePaymentRequest
source · [−]Expand description
This is a model struct for UpdatePaymentRequest type.
Fields
payment: Option<Payment>
The updated Payment object.
idempotency_key: String
A unique string that identifies this UpdatePayment
request. Keys can be any valid string
but must be unique for every UpdatePayment
request.
For more information, see Idempotency.
Trait Implementations
sourceimpl Clone for UpdatePaymentRequest
impl Clone for UpdatePaymentRequest
sourcefn clone(&self) -> UpdatePaymentRequest
fn clone(&self) -> UpdatePaymentRequest
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 UpdatePaymentRequest
impl Debug for UpdatePaymentRequest
sourceimpl Default for UpdatePaymentRequest
impl Default for UpdatePaymentRequest
sourcefn default() -> UpdatePaymentRequest
fn default() -> UpdatePaymentRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<UpdatePaymentRequest> for UpdatePaymentRequest
impl PartialEq<UpdatePaymentRequest> for UpdatePaymentRequest
sourcefn eq(&self, other: &UpdatePaymentRequest) -> bool
fn eq(&self, other: &UpdatePaymentRequest) -> bool
sourceimpl Serialize for UpdatePaymentRequest
impl Serialize for UpdatePaymentRequest
impl Eq for UpdatePaymentRequest
impl StructuralEq for UpdatePaymentRequest
impl StructuralPartialEq for UpdatePaymentRequest
Auto Trait Implementations
impl RefUnwindSafe for UpdatePaymentRequest
impl Send for UpdatePaymentRequest
impl Sync for UpdatePaymentRequest
impl Unpin for UpdatePaymentRequest
impl UnwindSafe for UpdatePaymentRequest
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.