Struct paypal_rust::resources::payment_collection::PaymentCollection
source · [−]pub struct PaymentCollection {
pub authorizations: Option<Vec<AuthorizationWithAdditionalData>>,
pub captures: Option<Vec<Capture>>,
pub refunds: Option<Refund>,
}
Fields
An array of authorized payments for a purchase unit. A purchase unit can have zero or more authorized payments.
captures: Option<Vec<Capture>>
An array of captured payments for a purchase unit. A purchase unit can have zero or more captured payments.
refunds: Option<Refund>
An array of refunds for a purchase unit. A purchase unit can have zero or more refunds.
Trait Implementations
sourceimpl Clone for PaymentCollection
impl Clone for PaymentCollection
sourcefn clone(&self) -> PaymentCollection
fn clone(&self) -> PaymentCollection
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 PaymentCollection
impl Debug for PaymentCollection
sourceimpl Default for PaymentCollection
impl Default for PaymentCollection
sourcefn default() -> PaymentCollection
fn default() -> PaymentCollection
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for PaymentCollection
impl<'de> Deserialize<'de> for PaymentCollection
sourcefn 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
sourceimpl Serialize for PaymentCollection
impl Serialize for PaymentCollection
Auto Trait Implementations
impl RefUnwindSafe for PaymentCollection
impl Send for PaymentCollection
impl Sync for PaymentCollection
impl Unpin for PaymentCollection
impl UnwindSafe for PaymentCollection
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