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>,
}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.
Implementations
sourceimpl ImportDetails
impl ImportDetails
pub fn new() -> ImportDetails
Trait Implementations
sourceimpl Clone for ImportDetails
impl Clone for ImportDetails
sourcefn clone(&self) -> ImportDetails
fn clone(&self) -> ImportDetails
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for ImportDetails
impl Debug for ImportDetails
sourceimpl Default for ImportDetails
impl Default for ImportDetails
sourcefn default() -> ImportDetails
fn default() -> ImportDetails
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ImportDetails
impl<'de> Deserialize<'de> for ImportDetails
sourcefn 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
sourceimpl PartialEq<ImportDetails> for ImportDetails
impl PartialEq<ImportDetails> for ImportDetails
sourcefn eq(&self, other: &ImportDetails) -> bool
fn eq(&self, other: &ImportDetails) -> bool
sourceimpl Serialize for ImportDetails
impl Serialize for ImportDetails
impl StructuralPartialEq for ImportDetails
Auto Trait Implementations
impl RefUnwindSafe for ImportDetails
impl Send for ImportDetails
impl Sync for ImportDetails
impl Unpin for ImportDetails
impl UnwindSafe for ImportDetails
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more