pub struct About {
pub extended: bool,
}
Expand description
Fetch basic information about the Odoo version
Service: common
Method: about
Request: About
Response: AboutResponse
Returns a link to the old OpenERP website, and optionally the “basic” Odoo
version string (e.g. 16.0+e
).
This call isn’t particularly useful on its own - you probably want to use Version
or version
instead.
Example:
use odoo_api::types::common;
let request = common::about(true);
See: odoo/service/common.py
See also: odoo/release.py
Fields§
§extended: bool
Trait Implementations§
source§impl<'de> Deserialize<'de> for About
impl<'de> Deserialize<'de> for About
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 About
impl OdooApiMethod for About
§type Response = AboutResponse
type Response = AboutResponse
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