pub struct JsonErrorResponseNull {
pub code: i32,
pub data: Option<Option<Value>>,
pub message: String,
}Fields§
§code: i32§data: Option<Option<Value>>§message: StringImplementations§
Source§impl JsonErrorResponseNull
impl JsonErrorResponseNull
pub fn new(code: i32, message: String) -> JsonErrorResponseNull
Trait Implementations§
Source§impl Clone for JsonErrorResponseNull
impl Clone for JsonErrorResponseNull
Source§fn clone(&self) -> JsonErrorResponseNull
fn clone(&self) -> JsonErrorResponseNull
Returns a duplicate of the value. Read more
1.0.0 · 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 JsonErrorResponseNull
impl Debug for JsonErrorResponseNull
Source§impl Default for JsonErrorResponseNull
impl Default for JsonErrorResponseNull
Source§fn default() -> JsonErrorResponseNull
fn default() -> JsonErrorResponseNull
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for JsonErrorResponseNull
impl<'de> Deserialize<'de> for JsonErrorResponseNull
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
Source§impl PartialEq for JsonErrorResponseNull
impl PartialEq for JsonErrorResponseNull
Source§impl Serialize for JsonErrorResponseNull
impl Serialize for JsonErrorResponseNull
impl StructuralPartialEq for JsonErrorResponseNull
Auto Trait Implementations§
impl Freeze for JsonErrorResponseNull
impl RefUnwindSafe for JsonErrorResponseNull
impl Send for JsonErrorResponseNull
impl Sync for JsonErrorResponseNull
impl Unpin for JsonErrorResponseNull
impl UnwindSafe for JsonErrorResponseNull
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