#[non_exhaustive]pub struct UpdateAddressBuilder { /* private fields */ }
Expand description
A builder for UpdateAddress
.
Implementations§
source§impl UpdateAddressBuilder
impl UpdateAddressBuilder
sourcepub fn set_address1(self, input: Option<String>) -> Self
pub fn set_address1(self, input: Option<String>) -> Self
The first line of a customer address.
sourcepub fn get_address1(&self) -> &Option<String>
pub fn get_address1(&self) -> &Option<String>
The first line of a customer address.
sourcepub fn set_address2(self, input: Option<String>) -> Self
pub fn set_address2(self, input: Option<String>) -> Self
The second line of a customer address.
sourcepub fn get_address2(&self) -> &Option<String>
pub fn get_address2(&self) -> &Option<String>
The second line of a customer address.
sourcepub fn set_address3(self, input: Option<String>) -> Self
pub fn set_address3(self, input: Option<String>) -> Self
The third line of a customer address.
sourcepub fn get_address3(&self) -> &Option<String>
pub fn get_address3(&self) -> &Option<String>
The third line of a customer address.
sourcepub fn set_address4(self, input: Option<String>) -> Self
pub fn set_address4(self, input: Option<String>) -> Self
The fourth line of a customer address.
sourcepub fn get_address4(&self) -> &Option<String>
pub fn get_address4(&self) -> &Option<String>
The fourth line of a customer address.
sourcepub fn set_county(self, input: Option<String>) -> Self
pub fn set_county(self, input: Option<String>) -> Self
The county in which a customer lives.
sourcepub fn get_county(&self) -> &Option<String>
pub fn get_county(&self) -> &Option<String>
The county in which a customer lives.
sourcepub fn province(self, input: impl Into<String>) -> Self
pub fn province(self, input: impl Into<String>) -> Self
The province in which a customer lives.
sourcepub fn set_province(self, input: Option<String>) -> Self
pub fn set_province(self, input: Option<String>) -> Self
The province in which a customer lives.
sourcepub fn get_province(&self) -> &Option<String>
pub fn get_province(&self) -> &Option<String>
The province in which a customer lives.
sourcepub fn set_country(self, input: Option<String>) -> Self
pub fn set_country(self, input: Option<String>) -> Self
The country in which a customer lives.
sourcepub fn get_country(&self) -> &Option<String>
pub fn get_country(&self) -> &Option<String>
The country in which a customer lives.
sourcepub fn postal_code(self, input: impl Into<String>) -> Self
pub fn postal_code(self, input: impl Into<String>) -> Self
The postal code of a customer address.
sourcepub fn set_postal_code(self, input: Option<String>) -> Self
pub fn set_postal_code(self, input: Option<String>) -> Self
The postal code of a customer address.
sourcepub fn get_postal_code(&self) -> &Option<String>
pub fn get_postal_code(&self) -> &Option<String>
The postal code of a customer address.
sourcepub fn build(self) -> UpdateAddress
pub fn build(self) -> UpdateAddress
Consumes the builder and constructs a UpdateAddress
.
Trait Implementations§
source§impl Clone for UpdateAddressBuilder
impl Clone for UpdateAddressBuilder
source§fn clone(&self) -> UpdateAddressBuilder
fn clone(&self) -> UpdateAddressBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateAddressBuilder
impl Debug for UpdateAddressBuilder
source§impl Default for UpdateAddressBuilder
impl Default for UpdateAddressBuilder
source§fn default() -> UpdateAddressBuilder
fn default() -> UpdateAddressBuilder
source§impl PartialEq for UpdateAddressBuilder
impl PartialEq for UpdateAddressBuilder
source§fn eq(&self, other: &UpdateAddressBuilder) -> bool
fn eq(&self, other: &UpdateAddressBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateAddressBuilder
Auto Trait Implementations§
impl Freeze for UpdateAddressBuilder
impl RefUnwindSafe for UpdateAddressBuilder
impl Send for UpdateAddressBuilder
impl Sync for UpdateAddressBuilder
impl Unpin for UpdateAddressBuilder
impl UnwindSafe for UpdateAddressBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more