Skip to main content
pub struct ShowBackupRequestOptions 
    pub backup_id: String,
    pub backup_type: String,
    pub show_contents: String,
    pub no_error_if_not_exists: String,

Optional parameters for the /show/backup endpoint.

Default::default() is the empty set: only options set explicitly are sent, and anything left empty falls back to the server’s own default.

Fields

backup_id: String

ID of the snapshot to show. Leave empty to show information from the most recent snapshot in the backup.

backup_type: String

Show backups by type. This option is ignored if backup_id is non-empty. Server default: all.

show_contents: String

Show the contents of the backed-up snapshots. Server default: none.

no_error_if_not_exists: String

Whether or not to suppress the error if the specified backup does not exist. Server default: false.

Implementations

Source

pub fn to_map(&self) -> HashMap<String, String>

Converts the set (non-empty) options into the wire-format string map.

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