pub struct CdpErrorBody {
pub code: i64,
pub message: String,
pub data: Option<Value>,
}Expand description
The flat error body returned on a failed CDP command.
Fields§
§code: i64§message: String§data: Option<Value>Trait Implementations§
Source§impl Debug for CdpErrorBody
impl Debug for CdpErrorBody
Source§impl<'de> Deserialize<'de> for CdpErrorBody
impl<'de> Deserialize<'de> for CdpErrorBody
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 CdpErrorBody
impl RefUnwindSafe for CdpErrorBody
impl Send for CdpErrorBody
impl Sync for CdpErrorBody
impl Unpin for CdpErrorBody
impl UnsafeUnpin for CdpErrorBody
impl UnwindSafe for CdpErrorBody
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