Struct odoo_api::service::db::ListCountries
source · pub struct ListCountries {
pub passwd: String,
}
Expand description
List the countries available to Odoo (ISO name + code)
Note that this function is used by the database manager, in order to let the user select which country should be used when creating a new database.
Docs TBC
Reference: odoo/service/db.py
Fields§
§passwd: String
Trait Implementations§
source§impl Debug for ListCountries
impl Debug for ListCountries
source§impl JsonRpcParams for ListCountries
impl JsonRpcParams for ListCountries
type Container<T> = OdooApiContainer<ListCountries>
type Response = ListCountriesResponse
fn build(self) -> JsonRpcRequest<Self>
source§impl OdooApiMethod for ListCountries
impl OdooApiMethod for ListCountries
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