pub enum GetShipmentError {
Status400(GetShipmentResponse),
Status401(GetShipmentResponse),
Status403(GetShipmentResponse),
Status404(GetShipmentResponse),
Status429(GetShipmentResponse),
Status500(GetShipmentResponse),
Status503(GetShipmentResponse),
UnknownValue(Value),
}Expand description
struct for typed errors of method get_shipment
Variants§
Status400(GetShipmentResponse)
Status401(GetShipmentResponse)
Status403(GetShipmentResponse)
Status404(GetShipmentResponse)
Status429(GetShipmentResponse)
Status500(GetShipmentResponse)
Status503(GetShipmentResponse)
UnknownValue(Value)
Trait Implementations§
Source§impl Clone for GetShipmentError
impl Clone for GetShipmentError
Source§fn clone(&self) -> GetShipmentError
fn clone(&self) -> GetShipmentError
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 GetShipmentError
impl Debug for GetShipmentError
Source§impl<'de> Deserialize<'de> for GetShipmentError
impl<'de> Deserialize<'de> for GetShipmentError
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
Auto Trait Implementations§
impl Freeze for GetShipmentError
impl RefUnwindSafe for GetShipmentError
impl Send for GetShipmentError
impl Sync for GetShipmentError
impl Unpin for GetShipmentError
impl UnwindSafe for GetShipmentError
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