pub struct MerchantLocationResponse {
pub city: Option<String>,
pub country: Option<String>,
pub created_at: Option<String>,
pub guid: Option<String>,
pub latitude: Option<f64>,
pub longitude: Option<f64>,
pub merchant_guid: Option<String>,
pub phone_number: Option<String>,
pub postal_code: Option<String>,
pub state: Option<String>,
pub street_address: Option<String>,
pub updated_at: Option<String>,
}Expand description
MerchantLocationResponse
JSON schema
{
"type": "object",
"properties": {
"city": {
"examples": [
"Greenwood Village"
],
"type": [
"string",
"null"
]
},
"country": {
"examples": [
"US"
],
"type": [
"string",
"null"
]
},
"created_at": {
"examples": [
"2020-04-13 21:05:09.000000000 Z"
],
"type": [
"string",
"null"
]
},
"guid": {
"examples": [
"MCL-00024e59-18b5-4d79-b879-2a7896726fea"
],
"type": [
"string",
"null"
]
},
"latitude": {
"examples": [
39.5963005
],
"type": [
"number",
"null"
]
},
"longitude": {
"examples": [
-104.89158799999998
],
"type": [
"number",
"null"
]
},
"merchant_guid": {
"examples": [
"MCH-09466f0a-fb58-9d1a-bae2-2af0afbea621"
],
"type": [
"string",
"null"
]
},
"phone_number": {
"examples": [
"(303) 689-0728"
],
"type": [
"string",
"null"
]
},
"postal_code": {
"examples": [
"801121436"
],
"type": [
"string",
"null"
]
},
"state": {
"examples": [
"CO"
],
"type": [
"string",
"null"
]
},
"street_address": {
"examples": [
"8547 E Arapahoe Rd, Ste 1"
],
"type": [
"string",
"null"
]
},
"updated_at": {
"examples": [
"2020-04-13 21:05:09.000000000 Z"
],
"type": [
"string",
"null"
]
}
}
}Fields§
§city: Option<String>§country: Option<String>§created_at: Option<String>§guid: Option<String>§latitude: Option<f64>§longitude: Option<f64>§merchant_guid: Option<String>§phone_number: Option<String>§postal_code: Option<String>§state: Option<String>§street_address: Option<String>§updated_at: Option<String>Trait Implementations§
Source§impl Clone for MerchantLocationResponse
impl Clone for MerchantLocationResponse
Source§fn clone(&self) -> MerchantLocationResponse
fn clone(&self) -> MerchantLocationResponse
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 Debug for MerchantLocationResponse
impl Debug for MerchantLocationResponse
Source§impl Default for MerchantLocationResponse
impl Default for MerchantLocationResponse
Source§impl<'de> Deserialize<'de> for MerchantLocationResponse
impl<'de> Deserialize<'de> for MerchantLocationResponse
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<&MerchantLocationResponse> for MerchantLocationResponse
impl From<&MerchantLocationResponse> for MerchantLocationResponse
Source§fn from(value: &MerchantLocationResponse) -> Self
fn from(value: &MerchantLocationResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MerchantLocationResponse
impl RefUnwindSafe for MerchantLocationResponse
impl Send for MerchantLocationResponse
impl Sync for MerchantLocationResponse
impl Unpin for MerchantLocationResponse
impl UnwindSafe for MerchantLocationResponse
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