pub struct ShippingService {
Show 13 fields pub shipping_service_name: String, pub carrier_name: String, pub shipping_service_id: String, pub shipping_service_offer_id: String, pub ship_date: String, pub earliest_estimated_delivery_date: Option<String>, pub latest_estimated_delivery_date: Option<String>, pub rate: Box<CurrencyAmount>, pub shipping_service_options: Box<ShippingServiceOptions>, pub available_shipping_service_options: Option<Box<AvailableShippingServiceOptions>>, pub available_label_formats: Option<Vec<LabelFormat>>, pub available_format_options_for_label: Option<Vec<LabelFormatOption>>, pub requires_additional_seller_inputs: bool,
}
Expand description

ShippingService : A shipping service offer made by a carrier.

Fields

shipping_service_name: String

A plain text representation of a carrier’s shipping service. For example, "UPS Ground" or "FedEx Standard Overnight".

carrier_name: String

The name of the carrier.

shipping_service_id: String

An Amazon-defined shipping service identifier.

shipping_service_offer_id: String

An Amazon-defined shipping service offer identifier.

ship_date: Stringearliest_estimated_delivery_date: Option<String>latest_estimated_delivery_date: Option<String>rate: Box<CurrencyAmount>shipping_service_options: Box<ShippingServiceOptions>available_shipping_service_options: Option<Box<AvailableShippingServiceOptions>>available_label_formats: Option<Vec<LabelFormat>>

List of label formats.

available_format_options_for_label: Option<Vec<LabelFormatOption>>

The available label formats.

requires_additional_seller_inputs: bool

When true, additional seller inputs are required.

Implementations

A shipping service offer made by a carrier.

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