pub struct RestoreBackupResponse
pub backup_name: String,
pub backup_id: i64,
pub restored_bytes: i64,
pub restored_files: i64,
pub restored_records: i64,
pub restored_objects: HashMap<String, String>,
pub renamed_objects: HashMap<String, String>,
pub failed_objects: HashMap<String, String>,
pub info: HashMap<String, String>,
The response from the /restore/backup endpoint.
Fields
backup_name: StringValue of backup_name.
backup_id: i64ID of the snapshot that was restored.
restored_bytes: i64Total size of data restored from backup.
restored_files: i64Total number of files restored from backup.
restored_records: i64Total number of records restored from backup.
restored_objects: HashMap<String, String>Database objects that were successfully restored and their associated types.
renamed_objects: HashMap<String, String>Original and new names of database objects that were successfully restored and their associated types.
failed_objects: HashMap<String, String>Database objects that failed to be restored and their associated types.
info: HashMap<String, String>Additional information.
Trait Implementations
Source
impl Clone for RestoreBackupResponse
Source
fn clone(&self) -> RestoreBackupResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource
impl Debug for RestoreBackupResponse
Source
impl Default for RestoreBackupResponse
Source
fn default() -> RestoreBackupResponse
Returns the “default value” for a type. Read more
Source
impl<‘de> Deserialize<‘de> for RestoreBackupResponse
Sourcefn deserialize<__D>(__deserializer: __D) ->Result<Self, __D::Error>
fn deserialize<__D>(__deserializer: __D) ->Result<Self, __D::Error>
where __D: Deserializer<‘de>,
Deserialize this value from the given Serde deserializer. Read more