Struct odoo_api::jsonrpc::JsonRpcResponseError
source · pub struct JsonRpcResponseError {
pub jsonrpc: JsonRpcVersion,
pub id: JsonRpcId,
pub error: JsonRpcError,
}
Expand description
A failed Odoo API response
Fields§
§jsonrpc: JsonRpcVersion
The JSON-RPC version (2.0
)
id: JsonRpcId
The request id
This is not used for any stateful behaviour on the Odoo/Python side
error: JsonRpcError
A struct containing the error information
Trait Implementations§
source§impl Debug for JsonRpcResponseError
impl Debug for JsonRpcResponseError
source§impl<'de> Deserialize<'de> for JsonRpcResponseError
impl<'de> Deserialize<'de> for JsonRpcResponseError
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<JsonRpcResponseError> for JsonRpcResponseError
impl PartialEq<JsonRpcResponseError> for JsonRpcResponseError
source§fn eq(&self, other: &JsonRpcResponseError) -> bool
fn eq(&self, other: &JsonRpcResponseError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.