Trait OdooWebMethod

Source
pub trait OdooWebMethod
where Self: Sized + Debug + Serialize + JsonRpcParams<Container<Self> = OdooWebContainer<Self>>, Self::Container<Self>: Debug + Serialize,
{ // Required method fn endpoint(&self) -> &'static str; // Provided method fn _build(self, id: JsonRpcId) -> JsonRpcRequest<Self> { ... } }
Expand description

An Odoo “Web” request type

Required Methods§

Source

fn endpoint(&self) -> &'static str

Describe method endpoint (e.g., “/web/session/authenticate”)

Provided Methods§

Source

fn _build(self, id: JsonRpcId) -> JsonRpcRequest<Self>

Build self into a full JsonRpcRequest

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§