pub struct PayoutInstruction {
pub id: Option<String>,
pub payee_account: PayeeAccount,
pub amount: InstructionAmount,
}
Fields§
§id: Option<String>
§payee_account: PayeeAccount
§amount: InstructionAmount
Implementations§
Source§impl PayoutInstruction
impl PayoutInstruction
pub fn new( payee_account: PayeeAccount, amount: InstructionAmount, ) -> PayoutInstruction
Trait Implementations§
Source§impl Clone for PayoutInstruction
impl Clone for PayoutInstruction
Source§fn clone(&self) -> PayoutInstruction
fn clone(&self) -> PayoutInstruction
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 Debug for PayoutInstruction
impl Debug for PayoutInstruction
Source§impl Default for PayoutInstruction
impl Default for PayoutInstruction
Source§fn default() -> PayoutInstruction
fn default() -> PayoutInstruction
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PayoutInstruction
impl<'de> Deserialize<'de> for PayoutInstruction
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 PayoutInstruction
impl PartialEq for PayoutInstruction
Source§impl Serialize for PayoutInstruction
impl Serialize for PayoutInstruction
impl StructuralPartialEq for PayoutInstruction
Auto Trait Implementations§
impl Freeze for PayoutInstruction
impl RefUnwindSafe for PayoutInstruction
impl Send for PayoutInstruction
impl Sync for PayoutInstruction
impl Unpin for PayoutInstruction
impl UnwindSafe for PayoutInstruction
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