pub struct RetrieveShippingLabelResponse {
pub payload: Option<Box<RetrieveShippingLabelResult>>,
pub errors: Option<Vec<Error>>,
}Expand description
RetrieveShippingLabelResponse : The response schema for the retrieveShippingLabel operation.
Fields§
§payload: Option<Box<RetrieveShippingLabelResult>>§errors: Option<Vec<Error>>A list of error responses returned when a request is unsuccessful.
Implementations§
Source§impl RetrieveShippingLabelResponse
impl RetrieveShippingLabelResponse
Sourcepub fn new() -> RetrieveShippingLabelResponse
pub fn new() -> RetrieveShippingLabelResponse
The response schema for the retrieveShippingLabel operation.
Trait Implementations§
Source§impl Clone for RetrieveShippingLabelResponse
impl Clone for RetrieveShippingLabelResponse
Source§fn clone(&self) -> RetrieveShippingLabelResponse
fn clone(&self) -> RetrieveShippingLabelResponse
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 Default for RetrieveShippingLabelResponse
impl Default for RetrieveShippingLabelResponse
Source§fn default() -> RetrieveShippingLabelResponse
fn default() -> RetrieveShippingLabelResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RetrieveShippingLabelResponse
impl<'de> Deserialize<'de> for RetrieveShippingLabelResponse
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 RetrieveShippingLabelResponse
impl PartialEq for RetrieveShippingLabelResponse
Source§fn eq(&self, other: &RetrieveShippingLabelResponse) -> bool
fn eq(&self, other: &RetrieveShippingLabelResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RetrieveShippingLabelResponse
Auto Trait Implementations§
impl Freeze for RetrieveShippingLabelResponse
impl RefUnwindSafe for RetrieveShippingLabelResponse
impl Send for RetrieveShippingLabelResponse
impl Sync for RetrieveShippingLabelResponse
impl Unpin for RetrieveShippingLabelResponse
impl UnsafeUnpin for RetrieveShippingLabelResponse
impl UnwindSafe for RetrieveShippingLabelResponse
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