pub struct ImportDetails {
pub method_of_payment: Option<MethodOfPayment>,
pub seal_number: Option<String>,
pub route: Option<Box<Route>>,
pub import_containers: Option<String>,
pub billable_weight: Option<Box<Weight>>,
pub estimated_ship_by_date: Option<String>,
pub handling_instructions: Option<HandlingInstructions>,
}Expand description
ImportDetails : Provide these fields only if this shipment is a direct import.
Fields§
§method_of_payment: Option<MethodOfPayment>This is used for import purchase orders only. If the recipient requests, this field will contain the shipment method of payment.
seal_number: Option<String>The container’s seal number.
route: Option<Box<Route>>§import_containers: Option<String>Types and numbers of container(s) for import purchase orders. Can be a comma-separated list if shipment has multiple containers.
billable_weight: Option<Box<Weight>>§estimated_ship_by_date: Option<String>Date on which the shipment is expected to be shipped. This value should not be in the past and not more than 60 days out in the future.
handling_instructions: Option<HandlingInstructions>Identification of the instructions on how specified item/carton/pallet should be handled.
Implementations§
Source§impl ImportDetails
impl ImportDetails
Sourcepub fn new() -> ImportDetails
pub fn new() -> ImportDetails
Provide these fields only if this shipment is a direct import.
Trait Implementations§
Source§impl Clone for ImportDetails
impl Clone for ImportDetails
Source§fn clone(&self) -> ImportDetails
fn clone(&self) -> ImportDetails
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 ImportDetails
impl Debug for ImportDetails
Source§impl Default for ImportDetails
impl Default for ImportDetails
Source§fn default() -> ImportDetails
fn default() -> ImportDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ImportDetails
impl<'de> Deserialize<'de> for ImportDetails
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 ImportDetails
impl PartialEq for ImportDetails
Source§impl Serialize for ImportDetails
impl Serialize for ImportDetails
impl StructuralPartialEq for ImportDetails
Auto Trait Implementations§
impl Freeze for ImportDetails
impl RefUnwindSafe for ImportDetails
impl Send for ImportDetails
impl Sync for ImportDetails
impl Unpin for ImportDetails
impl UnwindSafe for ImportDetails
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