pub struct CreateUserFiatAccountBodySwiftAddress {
pub city: CreateUserFiatAccountBodySwiftAddressCity,
pub country: CreateUserFiatAccountBodySwiftAddressCountry,
pub postal_code: Option<CreateUserFiatAccountBodySwiftAddressPostalCode>,
pub state: Option<CreateUserFiatAccountBodySwiftAddressState>,
pub street_line_1: CreateUserFiatAccountBodySwiftAddressStreetLine1,
pub street_line_2: Option<CreateUserFiatAccountBodySwiftAddressStreetLine2>,
}Expand description
CreateUserFiatAccountBodySwiftAddress
JSON schema
{
"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
}
}
}Fields§
§city: CreateUserFiatAccountBodySwiftAddressCity§country: CreateUserFiatAccountBodySwiftAddressCountry§postal_code: Option<CreateUserFiatAccountBodySwiftAddressPostalCode>§state: Option<CreateUserFiatAccountBodySwiftAddressState>§street_line_1: CreateUserFiatAccountBodySwiftAddressStreetLine1§street_line_2: Option<CreateUserFiatAccountBodySwiftAddressStreetLine2>Trait Implementations§
Source§impl Clone for CreateUserFiatAccountBodySwiftAddress
impl Clone for CreateUserFiatAccountBodySwiftAddress
Source§fn clone(&self) -> CreateUserFiatAccountBodySwiftAddress
fn clone(&self) -> CreateUserFiatAccountBodySwiftAddress
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 CreateUserFiatAccountBodySwiftAddress
impl<'de> Deserialize<'de> for CreateUserFiatAccountBodySwiftAddress
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<&CreateUserFiatAccountBodySwiftAddress> for CreateUserFiatAccountBodySwiftAddress
impl From<&CreateUserFiatAccountBodySwiftAddress> for CreateUserFiatAccountBodySwiftAddress
Source§fn from(value: &CreateUserFiatAccountBodySwiftAddress) -> Self
fn from(value: &CreateUserFiatAccountBodySwiftAddress) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CreateUserFiatAccountBodySwiftAddress
impl RefUnwindSafe for CreateUserFiatAccountBodySwiftAddress
impl Send for CreateUserFiatAccountBodySwiftAddress
impl Sync for CreateUserFiatAccountBodySwiftAddress
impl Unpin for CreateUserFiatAccountBodySwiftAddress
impl UnwindSafe for CreateUserFiatAccountBodySwiftAddress
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