Struct paypal_rust::resources::platform_fee::PlatformFee
source · [−]Fields
amount: Money
The fee for this transaction.
payee: PayeeBase
The recipient of the fee for this transaction. If you omit this value, the default is the API caller.
Trait Implementations
sourceimpl Clone for PlatformFee
impl Clone for PlatformFee
sourcefn clone(&self) -> PlatformFee
fn clone(&self) -> PlatformFee
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 PlatformFee
impl Debug for PlatformFee
sourceimpl Default for PlatformFee
impl Default for PlatformFee
sourcefn default() -> PlatformFee
fn default() -> PlatformFee
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for PlatformFee
impl<'de> Deserialize<'de> for PlatformFee
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 PlatformFee
impl Serialize for PlatformFee
Auto Trait Implementations
impl RefUnwindSafe for PlatformFee
impl Send for PlatformFee
impl Sync for PlatformFee
impl Unpin for PlatformFee
impl UnwindSafe for PlatformFee
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