pub struct PurchaseShipmentResult {
pub shipment_id: String,
pub service_rate: Box<ServiceRate>,
pub label_results: Vec<LabelResult>,
}Expand description
PurchaseShipmentResult : The payload schema for the purchaseShipment operation.
Fields
shipment_id: StringThe unique shipment identifier.
service_rate: Box<ServiceRate>label_results: Vec<LabelResult>A list of label results
Implementations
sourceimpl PurchaseShipmentResult
impl PurchaseShipmentResult
sourcepub fn new(
shipment_id: String,
service_rate: ServiceRate,
label_results: Vec<LabelResult>
) -> PurchaseShipmentResult
pub fn new(
shipment_id: String,
service_rate: ServiceRate,
label_results: Vec<LabelResult>
) -> PurchaseShipmentResult
The payload schema for the purchaseShipment operation.
Trait Implementations
sourceimpl Clone for PurchaseShipmentResult
impl Clone for PurchaseShipmentResult
sourcefn clone(&self) -> PurchaseShipmentResult
fn clone(&self) -> PurchaseShipmentResult
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 PurchaseShipmentResult
impl Debug for PurchaseShipmentResult
sourceimpl Default for PurchaseShipmentResult
impl Default for PurchaseShipmentResult
sourcefn default() -> PurchaseShipmentResult
fn default() -> PurchaseShipmentResult
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for PurchaseShipmentResult
impl<'de> Deserialize<'de> for PurchaseShipmentResult
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<PurchaseShipmentResult> for PurchaseShipmentResult
impl PartialEq<PurchaseShipmentResult> for PurchaseShipmentResult
sourcefn eq(&self, other: &PurchaseShipmentResult) -> bool
fn eq(&self, other: &PurchaseShipmentResult) -> bool
sourceimpl Serialize for PurchaseShipmentResult
impl Serialize for PurchaseShipmentResult
impl StructuralPartialEq for PurchaseShipmentResult
Auto Trait Implementations
impl RefUnwindSafe for PurchaseShipmentResult
impl Send for PurchaseShipmentResult
impl Sync for PurchaseShipmentResult
impl Unpin for PurchaseShipmentResult
impl UnwindSafe for PurchaseShipmentResult
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