pub struct TransportContent {
pub transport_header: Box<TransportHeader>,
pub transport_details: Box<TransportDetailOutput>,
pub transport_result: Box<TransportResult>,
}Expand description
TransportContent : Inbound shipment information, including carrier details, shipment status, and the workflow status for a request for shipment with an Amazon-partnered carrier.
Fields
transport_header: Box<TransportHeader>transport_details: Box<TransportDetailOutput>transport_result: Box<TransportResult>Implementations
sourceimpl TransportContent
impl TransportContent
sourcepub fn new(
transport_header: TransportHeader,
transport_details: TransportDetailOutput,
transport_result: TransportResult
) -> TransportContent
pub fn new(
transport_header: TransportHeader,
transport_details: TransportDetailOutput,
transport_result: TransportResult
) -> TransportContent
Inbound shipment information, including carrier details, shipment status, and the workflow status for a request for shipment with an Amazon-partnered carrier.
Trait Implementations
sourceimpl Clone for TransportContent
impl Clone for TransportContent
sourcefn clone(&self) -> TransportContent
fn clone(&self) -> TransportContent
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 TransportContent
impl Debug for TransportContent
sourceimpl Default for TransportContent
impl Default for TransportContent
sourcefn default() -> TransportContent
fn default() -> TransportContent
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for TransportContent
impl<'de> Deserialize<'de> for TransportContent
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<TransportContent> for TransportContent
impl PartialEq<TransportContent> for TransportContent
sourcefn eq(&self, other: &TransportContent) -> bool
fn eq(&self, other: &TransportContent) -> bool
sourceimpl Serialize for TransportContent
impl Serialize for TransportContent
impl StructuralPartialEq for TransportContent
Auto Trait Implementations
impl RefUnwindSafe for TransportContent
impl Send for TransportContent
impl Sync for TransportContent
impl Unpin for TransportContent
impl UnwindSafe for TransportContent
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