pub struct FundingConfigResponseSchema {
pub cross_chain_bridging_enabled: bool,
pub default_recommended_amount: String,
pub default_recommended_currency: Currency,
pub methods: Vec<FundingMethodEnum>,
pub options: Vec<FundingOption>,
pub prompt_funding_on_wallet_creation: bool,
}Expand description
Configuration for funding and on-ramp options.
JSON schema
{
"title": "FundingConfigResponseSchema",
"description": "Configuration for funding and on-ramp options.",
"type": "object",
"required": [
"cross_chain_bridging_enabled",
"default_recommended_amount",
"default_recommended_currency",
"methods",
"options",
"prompt_funding_on_wallet_creation"
],
"properties": {
"cross_chain_bridging_enabled": {
"type": "boolean"
},
"default_recommended_amount": {
"type": "string"
},
"default_recommended_currency": {
"$ref": "#/components/schemas/Currency"
},
"methods": {
"type": "array",
"items": {
"$ref": "#/components/schemas/FundingMethodEnum"
}
},
"options": {
"type": "array",
"items": {
"$ref": "#/components/schemas/FundingOption"
}
},
"prompt_funding_on_wallet_creation": {
"type": "boolean"
}
},
"x-stainless-model": "apps.funding_config_response_schema"
}Fields§
§cross_chain_bridging_enabled: bool§default_recommended_amount: String§default_recommended_currency: Currency§methods: Vec<FundingMethodEnum>§options: Vec<FundingOption>§prompt_funding_on_wallet_creation: boolTrait Implementations§
Source§impl Clone for FundingConfigResponseSchema
impl Clone for FundingConfigResponseSchema
Source§fn clone(&self) -> FundingConfigResponseSchema
fn clone(&self) -> FundingConfigResponseSchema
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 Debug for FundingConfigResponseSchema
impl Debug for FundingConfigResponseSchema
Source§impl<'de> Deserialize<'de> for FundingConfigResponseSchema
impl<'de> Deserialize<'de> for FundingConfigResponseSchema
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<&FundingConfigResponseSchema> for FundingConfigResponseSchema
impl From<&FundingConfigResponseSchema> for FundingConfigResponseSchema
Source§fn from(value: &FundingConfigResponseSchema) -> Self
fn from(value: &FundingConfigResponseSchema) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FundingConfigResponseSchema
impl RefUnwindSafe for FundingConfigResponseSchema
impl Send for FundingConfigResponseSchema
impl Sync for FundingConfigResponseSchema
impl Unpin for FundingConfigResponseSchema
impl UnsafeUnpin for FundingConfigResponseSchema
impl UnwindSafe for FundingConfigResponseSchema
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