pub struct DirectPurchaseResult {
pub shipment_id: String,
pub package_document_detail_list: Option<Vec<PackageDocumentDetail>>,
}Expand description
DirectPurchaseResult : The payload for the directPurchaseShipment operation.
Fields§
§shipment_id: StringThe unique shipment identifier provided by a shipping service.
package_document_detail_list: Option<Vec<PackageDocumentDetail>>A list of post-purchase details about a package that will be shipped using a shipping service.
Implementations§
Source§impl DirectPurchaseResult
impl DirectPurchaseResult
Sourcepub fn new(shipment_id: String) -> DirectPurchaseResult
pub fn new(shipment_id: String) -> DirectPurchaseResult
The payload for the directPurchaseShipment operation.
Trait Implementations§
Source§impl Clone for DirectPurchaseResult
impl Clone for DirectPurchaseResult
Source§fn clone(&self) -> DirectPurchaseResult
fn clone(&self) -> DirectPurchaseResult
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 DirectPurchaseResult
impl Debug for DirectPurchaseResult
Source§impl Default for DirectPurchaseResult
impl Default for DirectPurchaseResult
Source§fn default() -> DirectPurchaseResult
fn default() -> DirectPurchaseResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DirectPurchaseResult
impl<'de> Deserialize<'de> for DirectPurchaseResult
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 DirectPurchaseResult
impl PartialEq for DirectPurchaseResult
Source§impl Serialize for DirectPurchaseResult
impl Serialize for DirectPurchaseResult
impl StructuralPartialEq for DirectPurchaseResult
Auto Trait Implementations§
impl Freeze for DirectPurchaseResult
impl RefUnwindSafe for DirectPurchaseResult
impl Send for DirectPurchaseResult
impl Sync for DirectPurchaseResult
impl Unpin for DirectPurchaseResult
impl UnwindSafe for DirectPurchaseResult
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