pub enum PaymentConversion {
Fixed {
rates: Vec<ConversionRate>,
},
PerPeriod {},
}Expand description
Conversion policy agreed in immutable Payment Request terms.
Variants§
Fixed
Fixed rates apply to the request and every recurring installment.
Fields
§
rates: Vec<ConversionRate>An omitted payment asset is unavailable for conversion.
PerPeriod
Recurring cross-asset payments require a payee-issued quote for their Billing Period.
Trait Implementations§
Source§impl Clone for PaymentConversion
impl Clone for PaymentConversion
Source§impl Debug for PaymentConversion
impl Debug for PaymentConversion
Source§impl<'de> Deserialize<'de> for PaymentConversion
impl<'de> Deserialize<'de> for PaymentConversion
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
impl Eq for PaymentConversion
Source§impl PartialEq for PaymentConversion
impl PartialEq for PaymentConversion
Source§impl Serialize for PaymentConversion
impl Serialize for PaymentConversion
impl StructuralPartialEq for PaymentConversion
Auto Trait Implementations§
impl Freeze for PaymentConversion
impl RefUnwindSafe for PaymentConversion
impl Send for PaymentConversion
impl Sync for PaymentConversion
impl Unpin for PaymentConversion
impl UnsafeUnpin for PaymentConversion
impl UnwindSafe for PaymentConversion
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