pub struct CreateUserFiatAccountBodyAddress {
pub city: CreateUserFiatAccountBodyAddressCity,
pub country: CreateUserFiatAccountBodyAddressCountry,
pub postal_code: Option<CreateUserFiatAccountBodyAddressPostalCode>,
pub state: Option<CreateUserFiatAccountBodyAddressState>,
pub street_line_1: CreateUserFiatAccountBodyAddressStreetLine1,
pub street_line_2: Option<CreateUserFiatAccountBodyAddressStreetLine2>,
}Expand description
CreateUserFiatAccountBodyAddress
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: CreateUserFiatAccountBodyAddressCity§country: CreateUserFiatAccountBodyAddressCountry§postal_code: Option<CreateUserFiatAccountBodyAddressPostalCode>§state: Option<CreateUserFiatAccountBodyAddressState>§street_line_1: CreateUserFiatAccountBodyAddressStreetLine1§street_line_2: Option<CreateUserFiatAccountBodyAddressStreetLine2>Trait Implementations§
Source§impl Clone for CreateUserFiatAccountBodyAddress
impl Clone for CreateUserFiatAccountBodyAddress
Source§fn clone(&self) -> CreateUserFiatAccountBodyAddress
fn clone(&self) -> CreateUserFiatAccountBodyAddress
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 CreateUserFiatAccountBodyAddress
impl<'de> Deserialize<'de> for CreateUserFiatAccountBodyAddress
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<&CreateUserFiatAccountBodyAddress> for CreateUserFiatAccountBodyAddress
impl From<&CreateUserFiatAccountBodyAddress> for CreateUserFiatAccountBodyAddress
Source§fn from(value: &CreateUserFiatAccountBodyAddress) -> Self
fn from(value: &CreateUserFiatAccountBodyAddress) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CreateUserFiatAccountBodyAddress
impl RefUnwindSafe for CreateUserFiatAccountBodyAddress
impl Send for CreateUserFiatAccountBodyAddress
impl Sync for CreateUserFiatAccountBodyAddress
impl Unpin for CreateUserFiatAccountBodyAddress
impl UnwindSafe for CreateUserFiatAccountBodyAddress
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