pub struct List {
pub document: bool,
}
Expand description
List the databases currently available to Odoo
§Example
let resp = client.db_list(false).send()?;
println!("Databases: {:#?}", resp.databases);
Reference: odoo/service/db.py
See also: odoo/service/db.py
Fields§
§document: bool
This argument isn’t currently used and has no effect on the output
Trait Implementations§
Source§impl JsonRpcParams for List
impl JsonRpcParams for List
type Container<T> = OdooApiContainer<List>
type Response = ListResponse
fn build(self, id: JsonRpcId) -> JsonRpcRequest<Self>
Source§impl OdooApiMethod for List
impl OdooApiMethod for List
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 List
impl RefUnwindSafe for List
impl Send for List
impl Sync for List
impl Unpin for List
impl UnwindSafe for List
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