pub struct GetOptionsBuilder<'bucket> { /* private fields */ }
Expand description
Options for configuring the get operation.
Implementations§
Source§impl GetOptionsBuilder<'_>
impl GetOptionsBuilder<'_>
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.
Auto Trait Implementations§
impl<'bucket> Freeze for GetOptionsBuilder<'bucket>
impl<'bucket> RefUnwindSafe for GetOptionsBuilder<'bucket>
impl<'bucket> !Send for GetOptionsBuilder<'bucket>
impl<'bucket> !Sync for GetOptionsBuilder<'bucket>
impl<'bucket> Unpin for GetOptionsBuilder<'bucket>
impl<'bucket> UnwindSafe for GetOptionsBuilder<'bucket>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more