pub struct OriginatingBankAccountUs {
pub account_last4: OriginatingBankAccountUsAccountLast4,
pub bank_name: String,
pub currency: String,
}Expand description
The originating US bank account details for the transfer source. Present when funds were deposited from an external bank account into a deposit destination. Only the last 4 digits of the account number are exposed.
JSON schema
{
"title": "Originating Bank Account (US)",
"description": "The originating US bank account details for the transfer source. Present when funds were deposited from an external bank account into a deposit destination. Only the last 4 digits of the account number are exposed.",
"examples": [
{
"accountLast4": "6789",
"bankName": "Citibank, N.A.",
"currency": "usd"
}
],
"type": "object",
"required": [
"accountLast4",
"bankName",
"currency"
],
"properties": {
"accountLast4": {
"description": "The last 4 digits of the originating bank account number.",
"examples": [
"6789"
],
"type": "string",
"pattern": "^[0-9]{4}$"
},
"bankName": {
"description": "The name of the bank that originated the deposit.",
"examples": [
"Citibank, N.A."
],
"type": "string"
},
"currency": {
"description": "The fiat currency of the deposit (e.g., `usd`).",
"examples": [
"usd"
],
"type": "string"
}
}
}Fields§
§account_last4: OriginatingBankAccountUsAccountLast4The last 4 digits of the originating bank account number.
bank_name: StringThe name of the bank that originated the deposit.
currency: StringThe fiat currency of the deposit (e.g., usd).
Implementations§
Source§impl OriginatingBankAccountUs
impl OriginatingBankAccountUs
pub fn builder() -> OriginatingBankAccountUs
Trait Implementations§
Source§impl Clone for OriginatingBankAccountUs
impl Clone for OriginatingBankAccountUs
Source§fn clone(&self) -> OriginatingBankAccountUs
fn clone(&self) -> OriginatingBankAccountUs
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 OriginatingBankAccountUs
impl Debug for OriginatingBankAccountUs
Source§impl<'de> Deserialize<'de> for OriginatingBankAccountUs
impl<'de> Deserialize<'de> for OriginatingBankAccountUs
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<&OriginatingBankAccountUs> for OriginatingBankAccountUs
impl From<&OriginatingBankAccountUs> for OriginatingBankAccountUs
Source§fn from(value: &OriginatingBankAccountUs) -> Self
fn from(value: &OriginatingBankAccountUs) -> Self
Converts to this type from the input type.
Source§impl From<OriginatingBankAccountUs> for OriginatingBankAccountUs
impl From<OriginatingBankAccountUs> for OriginatingBankAccountUs
Source§fn from(value: OriginatingBankAccountUs) -> Self
fn from(value: OriginatingBankAccountUs) -> Self
Converts to this type from the input type.
Source§impl From<OriginatingBankAccountUs> for TransferSource
impl From<OriginatingBankAccountUs> for TransferSource
Source§fn from(value: OriginatingBankAccountUs) -> Self
fn from(value: OriginatingBankAccountUs) -> Self
Converts to this type from the input type.
Source§impl Serialize for OriginatingBankAccountUs
impl Serialize for OriginatingBankAccountUs
Source§impl TryFrom<OriginatingBankAccountUs> for OriginatingBankAccountUs
impl TryFrom<OriginatingBankAccountUs> for OriginatingBankAccountUs
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: OriginatingBankAccountUs) -> Result<Self, ConversionError>
fn try_from(value: OriginatingBankAccountUs) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for OriginatingBankAccountUs
impl RefUnwindSafe for OriginatingBankAccountUs
impl Send for OriginatingBankAccountUs
impl Sync for OriginatingBankAccountUs
impl Unpin for OriginatingBankAccountUs
impl UnsafeUnpin for OriginatingBankAccountUs
impl UnwindSafe for OriginatingBankAccountUs
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