pub struct TrackingInformation {
pub tracking_id: String,
pub summary: Box<TrackingSummary>,
pub promised_delivery_date: String,
pub event_history: Vec<Event>,
}Expand description
TrackingInformation : The payload schema for the getTrackingInformation operation.
Fields
tracking_id: StringThe tracking id generated to each shipment. It contains a series of letters or digits or both.
summary: Box<TrackingSummary>promised_delivery_date: StringThe promised delivery date and time of a shipment.
event_history: Vec<Event>A list of events of a shipment.
Implementations
sourceimpl TrackingInformation
impl TrackingInformation
sourcepub fn new(
tracking_id: String,
summary: TrackingSummary,
promised_delivery_date: String,
event_history: Vec<Event>
) -> TrackingInformation
pub fn new(
tracking_id: String,
summary: TrackingSummary,
promised_delivery_date: String,
event_history: Vec<Event>
) -> TrackingInformation
The payload schema for the getTrackingInformation operation.
Trait Implementations
sourceimpl Clone for TrackingInformation
impl Clone for TrackingInformation
sourcefn clone(&self) -> TrackingInformation
fn clone(&self) -> TrackingInformation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for TrackingInformation
impl Debug for TrackingInformation
sourceimpl Default for TrackingInformation
impl Default for TrackingInformation
sourcefn default() -> TrackingInformation
fn default() -> TrackingInformation
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for TrackingInformation
impl<'de> Deserialize<'de> for TrackingInformation
sourcefn 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
sourceimpl PartialEq<TrackingInformation> for TrackingInformation
impl PartialEq<TrackingInformation> for TrackingInformation
sourcefn eq(&self, other: &TrackingInformation) -> bool
fn eq(&self, other: &TrackingInformation) -> bool
sourceimpl Serialize for TrackingInformation
impl Serialize for TrackingInformation
impl StructuralPartialEq for TrackingInformation
Auto Trait Implementations
impl RefUnwindSafe for TrackingInformation
impl Send for TrackingInformation
impl Sync for TrackingInformation
impl Unpin for TrackingInformation
impl UnwindSafe for TrackingInformation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more