pub struct PlatformFee {
pub amount: Money,
pub payee: PayeeBase,
}
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§
Source§impl Clone for PlatformFee
impl Clone for PlatformFee
Source§fn clone(&self) -> PlatformFee
fn clone(&self) -> PlatformFee
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PlatformFee
impl Debug for PlatformFee
Source§impl Default for PlatformFee
impl Default for PlatformFee
Source§fn default() -> PlatformFee
fn default() -> PlatformFee
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PlatformFee
impl<'de> Deserialize<'de> for PlatformFee
Source§fn 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
Auto Trait Implementations§
impl Freeze for PlatformFee
impl RefUnwindSafe for PlatformFee
impl Send for PlatformFee
impl Sync for PlatformFee
impl Unpin for PlatformFee
impl UnwindSafe for PlatformFee
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more