Struct open_rpc_schema::document::ErrorObject
source · pub struct ErrorObject {
pub code: ErrorObjectCode,
pub message: ErrorObjectMessage,
pub data: Option<ErrorObjectData>,
}Expand description
ErrorObject
Defines an application level error.
Fields§
§code: ErrorObjectCode§message: ErrorObjectMessage§data: Option<ErrorObjectData>Trait Implementations§
source§impl Clone for ErrorObject
impl Clone for ErrorObject
source§fn clone(&self) -> ErrorObject
fn clone(&self) -> ErrorObject
Returns a copy 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<'de> Deserialize<'de> for ErrorObject
impl<'de> Deserialize<'de> for ErrorObject
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