pub struct GetShipmentResponse {
pub payload: Option<Box<Shipment>>,
pub errors: Option<Vec<Error>>,
}Expand description
GetShipmentResponse : The response schema for the getShipment operation.
Fields§
§payload: Option<Box<Shipment>>§errors: Option<Vec<Error>>A list of error responses returned when a request is unsuccessful.
Implementations§
Source§impl GetShipmentResponse
impl GetShipmentResponse
Sourcepub fn new() -> GetShipmentResponse
pub fn new() -> GetShipmentResponse
The response schema for the getShipment operation.
Trait Implementations§
Source§impl Clone for GetShipmentResponse
impl Clone for GetShipmentResponse
Source§fn clone(&self) -> GetShipmentResponse
fn clone(&self) -> GetShipmentResponse
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 GetShipmentResponse
impl Debug for GetShipmentResponse
Source§impl Default for GetShipmentResponse
impl Default for GetShipmentResponse
Source§fn default() -> GetShipmentResponse
fn default() -> GetShipmentResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetShipmentResponse
impl<'de> Deserialize<'de> for GetShipmentResponse
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 GetShipmentResponse
impl PartialEq for GetShipmentResponse
Source§impl Serialize for GetShipmentResponse
impl Serialize for GetShipmentResponse
impl StructuralPartialEq for GetShipmentResponse
Auto Trait Implementations§
impl Freeze for GetShipmentResponse
impl RefUnwindSafe for GetShipmentResponse
impl Send for GetShipmentResponse
impl Sync for GetShipmentResponse
impl Unpin for GetShipmentResponse
impl UnwindSafe for GetShipmentResponse
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