pub struct MoonpayFiatOnRampEthereumConfig {
pub currency_code: Option<MoonpayCurrencyCode>,
pub email: Option<String>,
pub payment_method: Option<MoonpayPaymentMethod>,
pub quote_currency_amount: Option<f64>,
pub ui_config: Option<MoonpayUiConfig>,
}Expand description
Configuration for a Moonpay fiat on-ramp for an Ethereum-compatible chain.
JSON schema
{
"title": "MoonpayFiatOnRampEthereumConfig",
"description": "Configuration for a Moonpay fiat on-ramp for an
Ethereum-compatible chain.",
"type": "object",
"properties": {
"currencyCode": {
"$ref": "#/components/schemas/MoonpayCurrencyCode"
},
"email": {
"type": "string",
"format": "email"
},
"paymentMethod": {
"$ref": "#/components/schemas/MoonpayPaymentMethod"
},
"quoteCurrencyAmount": {
"type": "number"
},
"uiConfig": {
"$ref": "#/components/schemas/MoonpayUiConfig"
}
},
"x-stainless-model": "funding.moonpay_fiat_on_ramp_ethereum_config"
}Fields§
§currency_code: Option<MoonpayCurrencyCode>§email: Option<String>§payment_method: Option<MoonpayPaymentMethod>§quote_currency_amount: Option<f64>§ui_config: Option<MoonpayUiConfig>Trait Implementations§
Source§impl Clone for MoonpayFiatOnRampEthereumConfig
impl Clone for MoonpayFiatOnRampEthereumConfig
Source§fn clone(&self) -> MoonpayFiatOnRampEthereumConfig
fn clone(&self) -> MoonpayFiatOnRampEthereumConfig
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 moreSource§impl<'de> Deserialize<'de> for MoonpayFiatOnRampEthereumConfig
impl<'de> Deserialize<'de> for MoonpayFiatOnRampEthereumConfig
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 From<&MoonpayFiatOnRampEthereumConfig> for MoonpayFiatOnRampEthereumConfig
impl From<&MoonpayFiatOnRampEthereumConfig> for MoonpayFiatOnRampEthereumConfig
Source§fn from(value: &MoonpayFiatOnRampEthereumConfig) -> Self
fn from(value: &MoonpayFiatOnRampEthereumConfig) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MoonpayFiatOnRampEthereumConfig
impl RefUnwindSafe for MoonpayFiatOnRampEthereumConfig
impl Send for MoonpayFiatOnRampEthereumConfig
impl Sync for MoonpayFiatOnRampEthereumConfig
impl Unpin for MoonpayFiatOnRampEthereumConfig
impl UnsafeUnpin for MoonpayFiatOnRampEthereumConfig
impl UnwindSafe for MoonpayFiatOnRampEthereumConfig
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