Struct bybit::errors::BybitContentError
source · pub struct BybitContentError {
pub code: i16,
pub msg: String,
}Expand description
BybitContentError is a struct that represents the error returned by the Bybit API. It has two fields: code, which is an i16 representing the error code, and msg, which is a String representing the error message.
Fields§
§code: i16§msg: StringTrait Implementations§
source§impl Debug for BybitContentError
impl Debug for BybitContentError
source§impl<'de> Deserialize<'de> for BybitContentError
impl<'de> Deserialize<'de> for BybitContentError
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 BybitContentError
impl RefUnwindSafe for BybitContentError
impl Send for BybitContentError
impl Sync for BybitContentError
impl Unpin for BybitContentError
impl UnwindSafe for BybitContentError
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