Struct shippo::NewShipment [−][src]
pub struct NewShipment { pub address_from: Address, pub address_to: Address, pub parcels: Vec<Parcel>, pub customs_declaration: Option<CustomsDeclaration>, }
Fields
address_from: Address
Address object that should be used as sender Address.
address_to: Address
Address object that should be used as recipient Address.
parcels: Vec<Parcel>
Parcel objects to be shipped.
customs_declaration: Option<CustomsDeclaration>
Customs Declarations object for an international shipment.
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for NewShipment
impl Send for NewShipment
impl Sync for NewShipment
impl Unpin for NewShipment
impl UnwindSafe for NewShipment
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more