pub struct AddressInput {
pub address_line1: Option<String>,
pub address_line2: Option<String>,
pub city: Option<String>,
pub province_code: Option<String>,
pub country_code: Option<CountryCode>,
pub postal_code: Option<String>,
}Expand description
Input for an address on mutations.
Fields§
§address_line1: Option<String>§address_line2: Option<String>§city: Option<String>§province_code: Option<String>§country_code: Option<CountryCode>§postal_code: Option<String>Implementations§
Source§impl AddressInput
impl AddressInput
pub fn new() -> Self
pub fn address_line1(self, v: impl Into<String>) -> Self
pub fn address_line2(self, v: impl Into<String>) -> Self
pub fn city(self, v: impl Into<String>) -> Self
pub fn province_code(self, v: impl Into<String>) -> Self
pub fn country_code(self, v: CountryCode) -> Self
pub fn postal_code(self, v: impl Into<String>) -> Self
Trait Implementations§
Source§impl Clone for AddressInput
impl Clone for AddressInput
Source§fn clone(&self) -> AddressInput
fn clone(&self) -> AddressInput
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 AddressInput
impl Debug for AddressInput
Source§impl Default for AddressInput
impl Default for AddressInput
Source§fn default() -> AddressInput
fn default() -> AddressInput
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AddressInput
impl RefUnwindSafe for AddressInput
impl Send for AddressInput
impl Sync for AddressInput
impl Unpin for AddressInput
impl UnsafeUnpin for AddressInput
impl UnwindSafe for AddressInput
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