pub struct OnrampDepositInstructions {Show 13 fields
pub account_holder_name: Option<String>,
pub amount: String,
pub bank_account_number: Option<String>,
pub bank_address: Option<String>,
pub bank_beneficiary_address: Option<String>,
pub bank_beneficiary_name: Option<String>,
pub bank_name: Option<String>,
pub bank_routing_number: Option<String>,
pub bic: Option<String>,
pub currency: OnrampDepositInstructionsCurrency,
pub deposit_message: Option<String>,
pub iban: Option<String>,
pub payment_rail: OnrampDepositInstructionsPaymentRail,
}Expand description
OnrampDepositInstructions
JSON schema
{
"type": "object",
"required": [
"amount",
"currency",
"payment_rail"
],
"properties": {
"account_holder_name": {
"type": "string"
},
"amount": {
"type": "string"
},
"bank_account_number": {
"type": "string"
},
"bank_address": {
"type": "string"
},
"bank_beneficiary_address": {
"type": "string"
},
"bank_beneficiary_name": {
"type": "string"
},
"bank_name": {
"type": "string"
},
"bank_routing_number": {
"type": "string"
},
"bic": {
"type": "string"
},
"currency": {
"type": "string",
"enum": [
"eur",
"usd"
]
},
"deposit_message": {
"type": "string"
},
"iban": {
"type": "string"
},
"payment_rail": {
"type": "string",
"enum": [
"ach_push",
"sepa",
"wire"
]
}
}
}Fields§
§account_holder_name: Option<String>§amount: String§bank_account_number: Option<String>§bank_address: Option<String>§bank_beneficiary_address: Option<String>§bank_beneficiary_name: Option<String>§bank_name: Option<String>§bank_routing_number: Option<String>§bic: Option<String>§currency: OnrampDepositInstructionsCurrency§deposit_message: Option<String>§iban: Option<String>§payment_rail: OnrampDepositInstructionsPaymentRailTrait Implementations§
Source§impl Clone for OnrampDepositInstructions
impl Clone for OnrampDepositInstructions
Source§fn clone(&self) -> OnrampDepositInstructions
fn clone(&self) -> OnrampDepositInstructions
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 OnrampDepositInstructions
impl Debug for OnrampDepositInstructions
Source§impl<'de> Deserialize<'de> for OnrampDepositInstructions
impl<'de> Deserialize<'de> for OnrampDepositInstructions
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<OnrampDepositInstructions, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<OnrampDepositInstructions, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&OnrampDepositInstructions> for OnrampDepositInstructions
impl From<&OnrampDepositInstructions> for OnrampDepositInstructions
Source§fn from(value: &OnrampDepositInstructions) -> OnrampDepositInstructions
fn from(value: &OnrampDepositInstructions) -> OnrampDepositInstructions
Converts to this type from the input type.
Source§impl Serialize for OnrampDepositInstructions
impl Serialize for OnrampDepositInstructions
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for OnrampDepositInstructions
impl RefUnwindSafe for OnrampDepositInstructions
impl Send for OnrampDepositInstructions
impl Sync for OnrampDepositInstructions
impl Unpin for OnrampDepositInstructions
impl UnwindSafe for OnrampDepositInstructions
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