pub struct PackageTrackingDetails {
Show 14 fields pub package_number: i32, pub tracking_number: Option<String>, pub customer_tracking_link: Option<String>, pub carrier_code: Option<String>, pub carrier_phone_number: Option<String>, pub carrier_url: Option<String>, pub ship_date: Option<String>, pub estimated_arrival_date: Option<String>, pub ship_to_address: Option<Box<TrackingAddress>>, pub current_status: Option<CurrentStatus>, pub current_status_description: Option<String>, pub signed_for_by: Option<String>, pub additional_location_info: Option<AdditionalLocationInfo>, pub tracking_events: Option<Vec<TrackingEvent>>,
}

Fields

package_number: i32

The package identifier.

tracking_number: Option<String>

The tracking number for the package.

customer_tracking_link: Option<String>

Link on swiship.com that allows customers to track the package.

carrier_code: Option<String>

The name of the carrier.

carrier_phone_number: Option<String>

The phone number of the carrier.

carrier_url: Option<String>

The URL of the carrier’s website.

ship_date: Option<String>estimated_arrival_date: Option<String>ship_to_address: Option<Box<TrackingAddress>>current_status: Option<CurrentStatus>current_status_description: Option<String>

Description corresponding to the CurrentStatus value.

signed_for_by: Option<String>

The name of the person who signed for the package.

additional_location_info: Option<AdditionalLocationInfo>tracking_events: Option<Vec<TrackingEvent>>

An array of tracking event information.

Implementations

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more