Struct worker_plus::GetOptionsBuilder
source · pub struct GetOptionsBuilder<'bucket> { /* private fields */ }
Expand description
Options for configuring the get operation.
Implementations§
source§impl<'bucket> GetOptionsBuilder<'bucket>
impl<'bucket> GetOptionsBuilder<'bucket>
sourcepub fn only_if(self, only_if: Conditional) -> Self
pub fn only_if(self, only_if: Conditional) -> Self
Specifies that the object should only be returned given satisfaction of certain conditions in the [R2Conditional]. Refer to Conditional operations.
sourcepub fn range(self, range: Range) -> Self
pub fn range(self, range: Range) -> Self
Specifies that only a specific length (from an optional offset) or suffix of bytes from the object should be returned. Refer to Ranged reads.