Expand description
Check if a database exists
Service: db
Method: db_exist
Request: DbExist
Response: DbExistResponse
Docs TBC
Reference: odoo/service/db.py
Fields§
§db_name: Vec<String>
Trait Implementations§
source§impl<'de> Deserialize<'de> for DbExist
impl<'de> Deserialize<'de> for DbExist
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
source§impl OdooApiMethod for DbExist
impl OdooApiMethod for DbExist
§type Response = DbExistResponse
type Response = DbExistResponse
The response type (e.g., the
ExecuteResponse
for Execute
)source§fn describe_odoo_api_method(&self) -> (&'static str, &'static str)
fn describe_odoo_api_method(&self) -> (&'static str, &'static str)
Describes the Odoo API method (including the service) Read more
source§fn parse_json_response(&self, json_data: &str) -> Result<OdooApiResponse<Self>>
fn parse_json_response(&self, json_data: &str) -> Result<OdooApiResponse<Self>>
Parse some JSON string data into an
OdooApiResponse
object Read more