pub struct GetOptionsBuilder<'bucket> { /* private fields */ }
Expand description

Options for configuring the get operation.

Implementations§

Specifies that the object should only be returned given satisfaction of certain conditions in the [R2Conditional]. Refer to Conditional operations.

Specifies that only a specific length (from an optional offset) or suffix of bytes from the object should be returned. Refer to Ranged reads.

Executes the GET operation on the R2 bucket.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.