Skip to main content
pub struct CreateBackupResponse 
    pub backup_name: String,
    pub backup_id: i64,
    pub copied_bytes: i64,
    pub copied_files: i64,
    pub copied_records: i64,
    pub total_number_of_records: i64,
    pub info: HashMap<String, String>,

The response from the /create/backup endpoint.

Fields

backup_name: String

Value of backup_name.

backup_id: i64

ID of the snapshot created.

copied_bytes: i64

Total size of all files copied for this snapshot.

copied_files: i64

Total number of files copied for this snapshot.

copied_records: i64

Total number of records in all files copied for this snapshot.

total_number_of_records: i64

Total number of records that can be restored from this snapshot.

info: HashMap<String, String>

Additional information.

Trait Implementations

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 more
Source

fn fmt(&self, f: &mut Formatter<’_>) -> Result

Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Source

fn deserialize<__D>(__deserializer: __D) ->Result<Self, __D::Error>
where __D: Deserializer<‘de>,

Deserialize this value from the given Serde deserializer. Read more
Source

fn serialize<__S>(&self, __serializer: __S) ->Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more