pub struct Dump {
pub passwd: String,
pub db_name: String,
pub format: DumpFormat,
}
Expand description
Dump (backup) a database, optionally including the filestore folder
Note that the data is returned a base64-encoded buffer.
Docs TBC
Reference: odoo/service/db.py
See also: odoo/service/db.py
Fields§
§passwd: String
§db_name: String
§format: DumpFormat
Trait Implementations§
source§impl JsonRpcParams for Dump
impl JsonRpcParams for Dump
type Container<T> = OdooApiContainer<Dump>
type Response = DumpResponse
fn build(self) -> JsonRpcRequest<Self>
source§impl OdooApiMethod for Dump
impl OdooApiMethod for Dump
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 _build(self) -> JsonRpcRequest<Self>
fn _build(self) -> JsonRpcRequest<Self>
Build
self
into a full JsonRpcRequest