pub struct TrackingAddress {
pub city: String,
pub state: String,
pub country: String,
}Expand description
TrackingAddress : Address information for tracking the package.
Fields§
§city: StringThe city.
state: StringThe state.
country: StringThe country.
Implementations§
Trait Implementations§
Source§impl Clone for TrackingAddress
impl Clone for TrackingAddress
Source§fn clone(&self) -> TrackingAddress
fn clone(&self) -> TrackingAddress
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 TrackingAddress
impl Debug for TrackingAddress
Source§impl Default for TrackingAddress
impl Default for TrackingAddress
Source§fn default() -> TrackingAddress
fn default() -> TrackingAddress
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TrackingAddress
impl<'de> Deserialize<'de> for TrackingAddress
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 PartialEq for TrackingAddress
impl PartialEq for TrackingAddress
Source§impl Serialize for TrackingAddress
impl Serialize for TrackingAddress
impl StructuralPartialEq for TrackingAddress
Auto Trait Implementations§
impl Freeze for TrackingAddress
impl RefUnwindSafe for TrackingAddress
impl Send for TrackingAddress
impl Sync for TrackingAddress
impl Unpin for TrackingAddress
impl UnsafeUnpin for TrackingAddress
impl UnwindSafe for TrackingAddress
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