Enum odoo_api::jsonrpc::JsonRpcMethod
source · pub enum JsonRpcMethod {
Call,
}
Expand description
A string representing the JSON-RPC “method”
At the time of writing, this is always set to “call”
Variants§
Call
Trait Implementations§
source§impl Debug for JsonRpcMethod
impl Debug for JsonRpcMethod
source§impl<'de> Deserialize<'de> for JsonRpcMethod
impl<'de> Deserialize<'de> for JsonRpcMethod
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<JsonRpcMethod> for JsonRpcMethod
impl PartialEq<JsonRpcMethod> for JsonRpcMethod
source§fn eq(&self, other: &JsonRpcMethod) -> bool
fn eq(&self, other: &JsonRpcMethod) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.