pub struct PaymentFlowScheme<'a> {
pub scheme: &'a str,
pub default_asset_transfer_method: &'a str,
pub payment_flows: &'a HashMap<String, PaymentFlowConfig>,
}Expand description
Scheme fields required to resolve ATM + payment flow.
Fields§
§scheme: &'a strScheme name (e.g. "exact").
default_asset_transfer_method: &'a strATM used when extra.assetTransferMethod is absent.
payment_flows: &'a HashMap<String, PaymentFlowConfig>Payment flows supported per ATM.
Trait Implementations§
Source§impl<'a> Clone for PaymentFlowScheme<'a>
impl<'a> Clone for PaymentFlowScheme<'a>
Source§fn clone(&self) -> PaymentFlowScheme<'a>
fn clone(&self) -> PaymentFlowScheme<'a>
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<'a> Copy for PaymentFlowScheme<'a>
Auto Trait Implementations§
impl<'a> Freeze for PaymentFlowScheme<'a>
impl<'a> RefUnwindSafe for PaymentFlowScheme<'a>
impl<'a> Send for PaymentFlowScheme<'a>
impl<'a> Sync for PaymentFlowScheme<'a>
impl<'a> Unpin for PaymentFlowScheme<'a>
impl<'a> UnsafeUnpin for PaymentFlowScheme<'a>
impl<'a> UnwindSafe for PaymentFlowScheme<'a>
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