pub struct GetTrackingResult {
pub tracking_id: String,
pub alternate_leg_tracking_id: String,
pub event_history: Vec<Event>,
pub promised_delivery_date: String,
pub summary: Box<TrackingSummary>,
}Expand description
GetTrackingResult : The payload for the getTracking operation.
Fields§
§tracking_id: StringThe carrier generated identifier for a package in a purchased shipment.
alternate_leg_tracking_id: StringThe carrier generated reverse identifier for a returned package in a purchased shipment.
event_history: Vec<Event>A list of tracking events.
promised_delivery_date: StringThe date and time by which the shipment is promised to be delivered.
summary: Box<TrackingSummary>Implementations§
Source§impl GetTrackingResult
impl GetTrackingResult
Sourcepub fn new(
tracking_id: String,
alternate_leg_tracking_id: String,
event_history: Vec<Event>,
promised_delivery_date: String,
summary: TrackingSummary,
) -> GetTrackingResult
pub fn new( tracking_id: String, alternate_leg_tracking_id: String, event_history: Vec<Event>, promised_delivery_date: String, summary: TrackingSummary, ) -> GetTrackingResult
The payload for the getTracking operation.
Trait Implementations§
Source§impl Clone for GetTrackingResult
impl Clone for GetTrackingResult
Source§fn clone(&self) -> GetTrackingResult
fn clone(&self) -> GetTrackingResult
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 GetTrackingResult
impl Debug for GetTrackingResult
Source§impl Default for GetTrackingResult
impl Default for GetTrackingResult
Source§fn default() -> GetTrackingResult
fn default() -> GetTrackingResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetTrackingResult
impl<'de> Deserialize<'de> for GetTrackingResult
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 GetTrackingResult
impl PartialEq for GetTrackingResult
Source§impl Serialize for GetTrackingResult
impl Serialize for GetTrackingResult
impl StructuralPartialEq for GetTrackingResult
Auto Trait Implementations§
impl Freeze for GetTrackingResult
impl RefUnwindSafe for GetTrackingResult
impl Send for GetTrackingResult
impl Sync for GetTrackingResult
impl Unpin for GetTrackingResult
impl UnwindSafe for GetTrackingResult
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