Struct odoo_api::service::db::CreateDatabase
source · pub struct CreateDatabase {
pub passwd: String,
pub db_name: String,
pub demo: bool,
pub lang: String,
pub user_password: String,
pub login: String,
pub country_code: Option<String>,
pub phone: Option<String>,
}
Expand description
Fields§
§passwd: String
§db_name: String
§demo: bool
§lang: String
§user_password: String
§login: String
§country_code: Option<String>
§phone: Option<String>
Trait Implementations§
source§impl Debug for CreateDatabase
impl Debug for CreateDatabase
source§impl JsonRpcParams for CreateDatabase
impl JsonRpcParams for CreateDatabase
type Container<T> = OdooApiContainer<CreateDatabase>
type Response = CreateDatabaseResponse
fn build(self) -> JsonRpcRequest<Self>
source§impl OdooApiMethod for CreateDatabase
impl OdooApiMethod for CreateDatabase
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