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": [
"eur",
"usd"
]
},
"deposit_message": {
"type": "string"
},
"iban": {
"type": "string"
},
"payment_rail": {
"type": "string",
"enum": [
"ach_push",
"sepa",
"wire"
]
}
}
},
"id": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"awaiting_funds",
"canceled",
"error",
"funds_received",
"in_review",
"payment_processed",
"payment_submitted",
"refunded",
"returned",
"undeliverable"
]
}
}
}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<Onramp, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Onramp, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for Onramp
impl Serialize for Onramp
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 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