pub struct FulfillmentDestination {
pub recipient_name: Option<String>,
pub locality: Option<String>,
pub region: Option<String>,
pub country_code: Option<String>,
pub postal_code: Option<String>,
}Available on crate feature
payments only.Expand description
Delivery or pickup destination details.
Fields§
§recipient_name: Option<String>§locality: Option<String>§region: Option<String>§country_code: Option<String>§postal_code: Option<String>Trait Implementations§
Source§impl Clone for FulfillmentDestination
impl Clone for FulfillmentDestination
Source§fn clone(&self) -> FulfillmentDestination
fn clone(&self) -> FulfillmentDestination
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FulfillmentDestination
impl Debug for FulfillmentDestination
Source§impl<'de> Deserialize<'de> for FulfillmentDestination
impl<'de> Deserialize<'de> for FulfillmentDestination
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<FulfillmentDestination, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<FulfillmentDestination, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for FulfillmentDestination
impl PartialEq for FulfillmentDestination
Source§fn eq(&self, other: &FulfillmentDestination) -> bool
fn eq(&self, other: &FulfillmentDestination) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FulfillmentDestination
impl Serialize for FulfillmentDestination
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
impl StructuralPartialEq for FulfillmentDestination
Auto Trait Implementations§
impl Freeze for FulfillmentDestination
impl RefUnwindSafe for FulfillmentDestination
impl Send for FulfillmentDestination
impl Sync for FulfillmentDestination
impl Unpin for FulfillmentDestination
impl UnsafeUnpin for FulfillmentDestination
impl UnwindSafe for FulfillmentDestination
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