pub struct VersionResponse {
pub server_version: String,
pub server_version_info: ServerVersionInfo,
pub server_serie: String,
pub protocol_version: u32,
}
Expand description
Represents the response to an Odoo Version
call
Fields§
§server_version: String
The “pretty” version, normally something like 16.0+e
or 15.0
server_version_info: ServerVersionInfo
The “full” version. See ServerVersionInfo
for details
server_serie: String
The server “series”; like server_version
, but without any indication of Enterprise vs Community (e.g., 16.0
or 15.0
)
protocol_version: u32
The Odoo “protocol version”. At the time of writing, it isn’t clear where this is actually used, and 1
is always returned
Trait Implementations§
source§impl Debug for VersionResponse
impl Debug for VersionResponse
source§impl<'de> Deserialize<'de> for VersionResponse
impl<'de> Deserialize<'de> for VersionResponse
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 PartialEq<VersionResponse> for VersionResponse
impl PartialEq<VersionResponse> for VersionResponse
source§fn eq(&self, other: &VersionResponse) -> bool
fn eq(&self, other: &VersionResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.