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
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
Auto Trait Implementations§
impl Freeze for JsonRpcVersion
impl RefUnwindSafe for JsonRpcVersion
impl Send for JsonRpcVersion
impl Sync for JsonRpcVersion
impl Unpin for JsonRpcVersion
impl UnwindSafe for JsonRpcVersion
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