pub struct About {
pub extended: bool,
}
Expand description
Fetch basic information about the Odoo version
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
instead.
§Example
let resp = client.common_about(true).send()?;
println!("About Info: {:?}", resp);
See: odoo/service/common.py
See also: odoo/release.py
Fields§
§extended: bool
Trait Implementations§
Source§impl JsonRpcParams for About
impl JsonRpcParams for About
type Container<T> = OdooApiContainer<About>
type Response = AboutResponse
fn build(self, id: JsonRpcId) -> JsonRpcRequest<Self>
Source§impl OdooApiMethod for About
impl OdooApiMethod for About
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 endpoint(&self) -> &'static str
fn endpoint(&self) -> &'static str
Describe method endpoint (e.g., “/web/session/authenticate”)
Source§fn _build(self, id: JsonRpcId) -> JsonRpcRequest<Self>
fn _build(self, id: JsonRpcId) -> JsonRpcRequest<Self>
Build
self
into a full JsonRpcRequest
Auto Trait Implementations§
impl Freeze for About
impl RefUnwindSafe for About
impl Send for About
impl Sync for About
impl Unpin for About
impl UnwindSafe for About
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more