pub enum GetCouponDetailError {
Status400(ErrorResponse),
Status404(ErrorResponse),
UnknownValue(Value),
}Expand description
struct for typed errors of method get_coupon_detail
Variants§
Trait Implementations§
Source§impl Clone for GetCouponDetailError
impl Clone for GetCouponDetailError
Source§fn clone(&self) -> GetCouponDetailError
fn clone(&self) -> GetCouponDetailError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GetCouponDetailError
impl Debug for GetCouponDetailError
Source§impl<'de> Deserialize<'de> for GetCouponDetailError
impl<'de> Deserialize<'de> for GetCouponDetailError
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 GetCouponDetailError
impl RefUnwindSafe for GetCouponDetailError
impl Send for GetCouponDetailError
impl Sync for GetCouponDetailError
impl Unpin for GetCouponDetailError
impl UnsafeUnpin for GetCouponDetailError
impl UnwindSafe for GetCouponDetailError
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