pub struct ListMultipartUploadsBuilder { /* private fields */ }Expand description
Builder for listing in-progress multipart uploads in an R2 bucket.
Implementations§
Source§impl ListMultipartUploadsBuilder
impl ListMultipartUploadsBuilder
Sourcepub fn prefix(self, value: impl Into<String>) -> Self
pub fn prefix(self, value: impl Into<String>) -> Self
Restricts results to keys beginning with this prefix.
Sourcepub fn delimiter(self, value: impl Into<String>) -> Self
pub fn delimiter(self, value: impl Into<String>) -> Self
Groups keys by this delimiter and returns rolled-up common prefixes.
Sourcepub const fn limit(self, value: u16) -> Self
pub const fn limit(self, value: u16) -> Self
Sets the maximum number of uploads returned, from 1 through 1,000.
Sourcepub fn key_marker(self, value: impl Into<String>) -> Self
pub fn key_marker(self, value: impl Into<String>) -> Self
Sets the key marker for pagination.
Sourcepub fn upload_id_marker(self, value: impl Into<String>) -> Self
pub fn upload_id_marker(self, value: impl Into<String>) -> Self
Sets the upload ID marker for pagination.
Sourcepub async fn send(self) -> Result<MultipartUploadPage, Error>
pub async fn send(self) -> Result<MultipartUploadPage, Error>
Validates the request and fetches one page of in-progress multipart uploads.
Sourcepub fn into_pages(
self,
) -> impl Stream<Item = Result<MultipartUploadPage, Error>> + Send
pub fn into_pages( self, ) -> impl Stream<Item = Result<MultipartUploadPage, Error>> + Send
Streams every page of in-progress multipart uploads until R2 reports completion.
Trait Implementations§
Source§impl Clone for ListMultipartUploadsBuilder
impl Clone for ListMultipartUploadsBuilder
Source§fn clone(&self) -> ListMultipartUploadsBuilder
fn clone(&self) -> ListMultipartUploadsBuilder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for ListMultipartUploadsBuilder
impl !UnwindSafe for ListMultipartUploadsBuilder
impl Freeze for ListMultipartUploadsBuilder
impl Send for ListMultipartUploadsBuilder
impl Sync for ListMultipartUploadsBuilder
impl Unpin for ListMultipartUploadsBuilder
impl UnsafeUnpin for ListMultipartUploadsBuilder
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.