pub struct JsonRpcErrorData {
pub name: String,
pub debug: String,
pub message: String,
pub arguments: Vec<Value>,
pub context: Map<String, Value>,
}
Fields§
§name: String
The module? and type of the object where the exception was raised
For example:
builtins.TypeError
odoo.addons.account.models.account_move.AccountMove
debug: String
The Python exception stack trace
message: String
The Python exception message (e.g. str(exception)
)
arguments: Vec<Value>
The Python exception arguments (e.g. excetion.args
)
context: Map<String, Value>
The Python exception context (e.g. excetion.context
)
Trait Implementations§
Source§impl Debug for JsonRpcErrorData
impl Debug for JsonRpcErrorData
Source§impl<'de> Deserialize<'de> for JsonRpcErrorData
impl<'de> Deserialize<'de> for JsonRpcErrorData
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 JsonRpcErrorData
impl RefUnwindSafe for JsonRpcErrorData
impl Send for JsonRpcErrorData
impl Sync for JsonRpcErrorData
impl Unpin for JsonRpcErrorData
impl UnwindSafe for JsonRpcErrorData
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