pub struct CreateTreasuryOutboundTransferDestinationPaymentMethodData {
pub financial_account: Option<String>,
pub type_: CreateTreasuryOutboundTransferDestinationPaymentMethodDataType,
}Expand description
Hash used to generate the PaymentMethod to be used for this OutboundTransfer.
Exclusive with destination_payment_method.
Fields§
§financial_account: Option<String>Required if type is set to financial_account. The FinancialAccount ID to send funds to.
type_: CreateTreasuryOutboundTransferDestinationPaymentMethodDataTypeThe type of the destination.
Implementations§
Source§impl CreateTreasuryOutboundTransferDestinationPaymentMethodData
impl CreateTreasuryOutboundTransferDestinationPaymentMethodData
pub fn new( type_: impl Into<CreateTreasuryOutboundTransferDestinationPaymentMethodDataType>, ) -> Self
Trait Implementations§
Source§impl Clone for CreateTreasuryOutboundTransferDestinationPaymentMethodData
impl Clone for CreateTreasuryOutboundTransferDestinationPaymentMethodData
Source§fn clone(&self) -> CreateTreasuryOutboundTransferDestinationPaymentMethodData
fn clone(&self) -> CreateTreasuryOutboundTransferDestinationPaymentMethodData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Eq for CreateTreasuryOutboundTransferDestinationPaymentMethodData
impl StructuralPartialEq for CreateTreasuryOutboundTransferDestinationPaymentMethodData
Auto Trait Implementations§
impl Freeze for CreateTreasuryOutboundTransferDestinationPaymentMethodData
impl RefUnwindSafe for CreateTreasuryOutboundTransferDestinationPaymentMethodData
impl Send for CreateTreasuryOutboundTransferDestinationPaymentMethodData
impl Sync for CreateTreasuryOutboundTransferDestinationPaymentMethodData
impl Unpin for CreateTreasuryOutboundTransferDestinationPaymentMethodData
impl UnsafeUnpin for CreateTreasuryOutboundTransferDestinationPaymentMethodData
impl UnwindSafe for CreateTreasuryOutboundTransferDestinationPaymentMethodData
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