pub struct UpdateSourceSourceOrderShippingAddress {
pub city: Option<String>,
pub country: Option<String>,
pub line1: String,
pub line2: Option<String>,
pub postal_code: Option<String>,
pub state: Option<String>,
}
Fields§
§city: Option<String>
City, district, suburb, town, or village.
country: Option<String>
Two-letter country code (ISO 3166-1 alpha-2).
line1: String
Address line 1 (e.g., street, PO Box, or company name).
line2: Option<String>
Address line 2 (e.g., apartment, suite, unit, or building).
postal_code: Option<String>
ZIP or postal code.
state: Option<String>
State, county, province, or region.
Trait Implementations§
source§impl Clone for UpdateSourceSourceOrderShippingAddress
impl Clone for UpdateSourceSourceOrderShippingAddress
source§fn clone(&self) -> UpdateSourceSourceOrderShippingAddress
fn clone(&self) -> UpdateSourceSourceOrderShippingAddress
Returns a copy 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 Default for UpdateSourceSourceOrderShippingAddress
impl Default for UpdateSourceSourceOrderShippingAddress
source§fn default() -> UpdateSourceSourceOrderShippingAddress
fn default() -> UpdateSourceSourceOrderShippingAddress
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UpdateSourceSourceOrderShippingAddress
impl<'de> Deserialize<'de> for UpdateSourceSourceOrderShippingAddress
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
Auto Trait Implementations§
impl Freeze for UpdateSourceSourceOrderShippingAddress
impl RefUnwindSafe for UpdateSourceSourceOrderShippingAddress
impl Send for UpdateSourceSourceOrderShippingAddress
impl Sync for UpdateSourceSourceOrderShippingAddress
impl Unpin for UpdateSourceSourceOrderShippingAddress
impl UnwindSafe for UpdateSourceSourceOrderShippingAddress
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)