pub struct GenericRejection {
pub error_code: Option<String>,
pub error_message: Option<String>,
}Expand description
Common OANDA error fields on endpoints without a specific rejection schema.
Fields§
§error_code: Option<String>Optional provider error code.
error_message: Option<String>Optional provider error message.
Trait Implementations§
Source§impl Clone for GenericRejection
impl Clone for GenericRejection
Source§impl Debug for GenericRejection
impl Debug for GenericRejection
Source§impl Default for GenericRejection
impl Default for GenericRejection
Source§impl<'de> Deserialize<'de> for GenericRejection
impl<'de> Deserialize<'de> for GenericRejection
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 GenericRejection
impl RefUnwindSafe for GenericRejection
impl Send for GenericRejection
impl Sync for GenericRejection
impl Unpin for GenericRejection
impl UnsafeUnpin for GenericRejection
impl UnwindSafe for GenericRejection
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