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<CreateUserFiatAccountBodyAddress, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CreateUserFiatAccountBodyAddress, <__D as Deserializer<'de>>::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,
) -> CreateUserFiatAccountBodyAddress
fn from( value: &CreateUserFiatAccountBodyAddress, ) -> CreateUserFiatAccountBodyAddress
Converts to this type from the input type.
Source§impl Serialize for CreateUserFiatAccountBodyAddress
impl Serialize for CreateUserFiatAccountBodyAddress
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 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