pub struct UpdateFileRetentionBuilder<'a> { /* private fields */ }
Expand description

A builder for an UpdateFileRetention request.

Implementations

The file to update.

The name of the file to update.

The file ID is also required.

The ID of the file to update.

The file name is also required.

The new file retention settings for the file.

See https://www.backblaze.com/b2/docs/file_lock.html#b2_api_file_lock_parameters for more information.

Bypass governance rules to allow deleting or shortening an existing governance-mode retention setting.

The authorization must include Capability::BypassGovernance.

Create an UpdateFileRetention request.

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.