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