pub struct StablecoinPaymentMethod {
pub preferred_asset: Option<StablecoinAsset>,
}Expand description
Stablecoin payment configuration.
Fields§
§preferred_asset: Option<StablecoinAsset>Preferred stablecoin asset.
Trait Implementations§
Source§impl Clone for StablecoinPaymentMethod
impl Clone for StablecoinPaymentMethod
Source§fn clone(&self) -> StablecoinPaymentMethod
fn clone(&self) -> StablecoinPaymentMethod
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 StablecoinPaymentMethod
impl Debug for StablecoinPaymentMethod
Source§impl Default for StablecoinPaymentMethod
impl Default for StablecoinPaymentMethod
Source§fn default() -> StablecoinPaymentMethod
fn default() -> StablecoinPaymentMethod
Returns the “default value” for a type. Read more
Source§impl Hash for StablecoinPaymentMethod
impl Hash for StablecoinPaymentMethod
Source§impl PartialEq for StablecoinPaymentMethod
impl PartialEq for StablecoinPaymentMethod
impl Eq for StablecoinPaymentMethod
impl StructuralPartialEq for StablecoinPaymentMethod
Auto Trait Implementations§
impl Freeze for StablecoinPaymentMethod
impl RefUnwindSafe for StablecoinPaymentMethod
impl Send for StablecoinPaymentMethod
impl Sync for StablecoinPaymentMethod
impl Unpin for StablecoinPaymentMethod
impl UnsafeUnpin for StablecoinPaymentMethod
impl UnwindSafe for StablecoinPaymentMethod
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