pub struct R3ClientUploadFileAsyncBuilder<'f1, S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with call()
.
Implementations§
Source§impl<'f1, S: State> R3ClientUploadFileAsyncBuilder<'f1, S>
impl<'f1, S: State> R3ClientUploadFileAsyncBuilder<'f1, S>
Sourcepub async fn call(self) -> Result<UploadFileResponse, UploadFileError>where
S: IsComplete,
pub async fn call(self) -> Result<UploadFileResponse, UploadFileError>where
S: IsComplete,
Finishes building and performs the requested action.
Sourcepub fn file_upload(
self,
value: FileUpload,
) -> R3ClientUploadFileAsyncBuilder<'f1, SetFileUpload<S>>where
S::FileUpload: IsUnset,
pub fn file_upload(
self,
value: FileUpload,
) -> R3ClientUploadFileAsyncBuilder<'f1, SetFileUpload<S>>where
S::FileUpload: IsUnset,
Required.
Auto Trait Implementations§
impl<'f1, S> Freeze for R3ClientUploadFileAsyncBuilder<'f1, S>
impl<'f1, S> RefUnwindSafe for R3ClientUploadFileAsyncBuilder<'f1, S>
impl<'f1, S> Send for R3ClientUploadFileAsyncBuilder<'f1, S>
impl<'f1, S> Sync for R3ClientUploadFileAsyncBuilder<'f1, S>
impl<'f1, S> Unpin for R3ClientUploadFileAsyncBuilder<'f1, S>
impl<'f1, S> UnwindSafe for R3ClientUploadFileAsyncBuilder<'f1, S>
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