pub struct CreateUserFiatAccountBodySwift {
pub account: CreateUserFiatAccountBodySwiftAccount,
pub address: CreateUserFiatAccountBodySwiftAddress,
pub category: CreateUserFiatAccountBodySwiftCategory,
pub purpose_of_funds: Vec<CreateUserFiatAccountBodySwiftPurposeOfFundsItem>,
pub short_business_description: CreateUserFiatAccountBodySwiftShortBusinessDescription,
}Expand description
CreateUserFiatAccountBodySwift
JSON schema
{
"type": "object",
"required": [
"account",
"address",
"category",
"purpose_of_funds",
"short_business_description"
],
"properties": {
"account": {
"type": "object",
"required": [
"account_number",
"bic",
"country"
],
"properties": {
"account_number": {
"type": "string",
"minLength": 1
},
"bic": {
"type": "string",
"minLength": 1
},
"country": {
"type": "string",
"maxLength": 3,
"minLength": 3
}
}
},
"address": {
"type": "object",
"required": [
"city",
"country",
"street_line_1"
],
"properties": {
"city": {
"type": "string",
"minLength": 1
},
"country": {
"type": "string",
"maxLength": 3,
"minLength": 3
},
"postal_code": {
"type": "string",
"minLength": 1
},
"state": {
"type": "string",
"maxLength": 3,
"minLength": 1
},
"street_line_1": {
"type": "string",
"minLength": 1
},
"street_line_2": {
"type": "string",
"minLength": 1
}
}
},
"category": {
"type": "string",
"enum": [
"client",
"parent_company",
"subsidiary",
"supplier"
]
},
"purpose_of_funds": {
"type": "array",
"items": {
"type": "string",
"enum": [
"intra_group_transfer",
"invoice_for_goods_and_services"
]
},
"minItems": 1
},
"short_business_description": {
"type": "string",
"minLength": 1
}
}
}Fields§
§account: CreateUserFiatAccountBodySwiftAccount§address: CreateUserFiatAccountBodySwiftAddress§category: CreateUserFiatAccountBodySwiftCategory§purpose_of_funds: Vec<CreateUserFiatAccountBodySwiftPurposeOfFundsItem>§short_business_description: CreateUserFiatAccountBodySwiftShortBusinessDescriptionTrait Implementations§
Source§impl Clone for CreateUserFiatAccountBodySwift
impl Clone for CreateUserFiatAccountBodySwift
Source§fn clone(&self) -> CreateUserFiatAccountBodySwift
fn clone(&self) -> CreateUserFiatAccountBodySwift
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<'de> Deserialize<'de> for CreateUserFiatAccountBodySwift
impl<'de> Deserialize<'de> for CreateUserFiatAccountBodySwift
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<&CreateUserFiatAccountBodySwift> for CreateUserFiatAccountBodySwift
impl From<&CreateUserFiatAccountBodySwift> for CreateUserFiatAccountBodySwift
Source§fn from(value: &CreateUserFiatAccountBodySwift) -> Self
fn from(value: &CreateUserFiatAccountBodySwift) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CreateUserFiatAccountBodySwift
impl RefUnwindSafe for CreateUserFiatAccountBodySwift
impl Send for CreateUserFiatAccountBodySwift
impl Sync for CreateUserFiatAccountBodySwift
impl Unpin for CreateUserFiatAccountBodySwift
impl UnwindSafe for CreateUserFiatAccountBodySwift
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