pub struct BinanceApiError {
pub code: i32,
pub msg: String,
}Expand description
Binance API error response structure
Fields§
§code: i32Error code returned by Binance API
msg: StringError message returned by Binance API
Trait Implementations§
Source§impl Debug for BinanceApiError
impl Debug for BinanceApiError
Source§impl<'de> Deserialize<'de> for BinanceApiError
impl<'de> Deserialize<'de> for BinanceApiError
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 BinanceApiError
impl RefUnwindSafe for BinanceApiError
impl Send for BinanceApiError
impl Sync for BinanceApiError
impl Unpin for BinanceApiError
impl UnwindSafe for BinanceApiError
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