pub struct DirectPurchaseResponse {
pub payload: Option<Box<DirectPurchaseResult>>,
}Expand description
DirectPurchaseResponse : The response schema for the directPurchaseShipment operation.
Fields§
§payload: Option<Box<DirectPurchaseResult>>Implementations§
Source§impl DirectPurchaseResponse
impl DirectPurchaseResponse
Sourcepub fn new() -> DirectPurchaseResponse
pub fn new() -> DirectPurchaseResponse
The response schema for the directPurchaseShipment operation.
Trait Implementations§
Source§impl Clone for DirectPurchaseResponse
impl Clone for DirectPurchaseResponse
Source§fn clone(&self) -> DirectPurchaseResponse
fn clone(&self) -> DirectPurchaseResponse
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 DirectPurchaseResponse
impl Debug for DirectPurchaseResponse
Source§impl Default for DirectPurchaseResponse
impl Default for DirectPurchaseResponse
Source§fn default() -> DirectPurchaseResponse
fn default() -> DirectPurchaseResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DirectPurchaseResponse
impl<'de> Deserialize<'de> for DirectPurchaseResponse
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 DirectPurchaseResponse
impl PartialEq for DirectPurchaseResponse
Source§impl Serialize for DirectPurchaseResponse
impl Serialize for DirectPurchaseResponse
impl StructuralPartialEq for DirectPurchaseResponse
Auto Trait Implementations§
impl Freeze for DirectPurchaseResponse
impl RefUnwindSafe for DirectPurchaseResponse
impl Send for DirectPurchaseResponse
impl Sync for DirectPurchaseResponse
impl Unpin for DirectPurchaseResponse
impl UnwindSafe for DirectPurchaseResponse
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