pub struct ListLang {}
Expand description
List the languages available to Odoo (ISO name + code)
Note that this function is used by the database manager, in order to let the user select which language should be used when creating a new database.
Docs TBC
Reference: odoo/service/db.py
Trait Implementations§
source§impl JsonRpcParams for ListLang
impl JsonRpcParams for ListLang
type Container<T> = OdooApiContainer<ListLang>
type Response = ListLangResponse
fn build(self) -> JsonRpcRequest<Self>
source§impl OdooApiMethod for ListLang
impl OdooApiMethod for ListLang
source§fn describe(&self) -> (&'static str, &'static str)
fn describe(&self) -> (&'static str, &'static str)
Describe the JSON-RPC service and method for this type
source§fn _build(self) -> JsonRpcRequest<Self>
fn _build(self) -> JsonRpcRequest<Self>
Build
self
into a full JsonRpcRequest