pub struct DisbursementInstructionOutput {
pub amount: AssetAmount,
pub fee: AssetAmount,
pub payee_account: Destination,
}
Fields§
§amount: AssetAmount
§fee: AssetAmount
§payee_account: Destination
Implementations§
Source§impl DisbursementInstructionOutput
impl DisbursementInstructionOutput
pub fn new( amount: AssetAmount, fee: AssetAmount, payee_account: Destination, ) -> DisbursementInstructionOutput
Trait Implementations§
Source§impl Clone for DisbursementInstructionOutput
impl Clone for DisbursementInstructionOutput
Source§fn clone(&self) -> DisbursementInstructionOutput
fn clone(&self) -> DisbursementInstructionOutput
Returns a duplicate 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 Default for DisbursementInstructionOutput
impl Default for DisbursementInstructionOutput
Source§fn default() -> DisbursementInstructionOutput
fn default() -> DisbursementInstructionOutput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DisbursementInstructionOutput
impl<'de> Deserialize<'de> for DisbursementInstructionOutput
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
Source§impl PartialEq for DisbursementInstructionOutput
impl PartialEq for DisbursementInstructionOutput
Source§fn eq(&self, other: &DisbursementInstructionOutput) -> bool
fn eq(&self, other: &DisbursementInstructionOutput) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for DisbursementInstructionOutput
Auto Trait Implementations§
impl Freeze for DisbursementInstructionOutput
impl RefUnwindSafe for DisbursementInstructionOutput
impl Send for DisbursementInstructionOutput
impl Sync for DisbursementInstructionOutput
impl Unpin for DisbursementInstructionOutput
impl UnwindSafe for DisbursementInstructionOutput
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