pub struct Onramp {
pub deposit_instructions: OnrampDepositInstructions,
pub id: String,
pub status: OnrampStatus,
}Expand description
Onramp
JSON schema
{
"type": "object",
"required": [
"deposit_instructions",
"id",
"status"
],
"properties": {
"deposit_instructions": {
"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": [
"usd",
"eur"
]
},
"deposit_message": {
"type": "string"
},
"iban": {
"type": "string"
},
"payment_rail": {
"type": "string",
"enum": [
"sepa",
"ach_push",
"wire"
]
}
}
},
"id": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"awaiting_funds",
"in_review",
"funds_received",
"payment_submitted",
"payment_processed",
"canceled",
"error",
"undeliverable",
"returned",
"refunded"
]
}
}
}Fields§
§deposit_instructions: OnrampDepositInstructions§id: String§status: OnrampStatusTrait Implementations§
Source§impl<'de> Deserialize<'de> for Onramp
impl<'de> Deserialize<'de> for Onramp
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
Auto Trait Implementations§
impl Freeze for Onramp
impl RefUnwindSafe for Onramp
impl Send for Onramp
impl Sync for Onramp
impl Unpin for Onramp
impl UnwindSafe for Onramp
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