pub struct MultipartFileRequestBuilder { /* private fields */ }Expand description
Re-export multipart_file module
Builder for MultipartFileRequest.
Implementations§
Source§impl MultipartFileRequestBuilder
impl MultipartFileRequestBuilder
Sourcepub fn state(self, value: InitMultipartState) -> Self
pub fn state(self, value: InitMultipartState) -> Self
Required: Slice initial state
Sourcepub fn buffer_size(self, value: u64) -> Self
pub fn buffer_size(self, value: u64) -> Self
Required: Slice data size
Sourcepub fn part_index(self, value: usize) -> Self
pub fn part_index(self, value: usize) -> Self
Required: Index of slices
Sourcepub fn content_md5<VALUE: Into<Option<String>>>(self, value: VALUE) -> Self
pub fn content_md5<VALUE: Into<Option<String>>>(self, value: VALUE) -> Self
Optional: Content-MD5
Sourcepub fn security_token<VALUE: Into<Option<String>>>(self, value: VALUE) -> Self
pub fn security_token<VALUE: Into<Option<String>>>(self, value: VALUE) -> Self
Optional: temporary STS token
Sourcepub fn object_config(self, value: ObjectConfig) -> Self
pub fn object_config(self, value: ObjectConfig) -> Self
Required Object Config.
Sourcepub fn client(self, value: HttpClient) -> Self
pub fn client(self, value: HttpClient) -> Self
Required Http Client.
Sourcepub fn build(
self,
) -> Result<MultipartFileRequest, MultipartFileRequestBuilderError>
pub fn build( self, ) -> Result<MultipartFileRequest, MultipartFileRequestBuilderError>
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for MultipartFileRequestBuilder
impl !RefUnwindSafe for MultipartFileRequestBuilder
impl !UnwindSafe for MultipartFileRequestBuilder
impl Send for MultipartFileRequestBuilder
impl Sync for MultipartFileRequestBuilder
impl Unpin for MultipartFileRequestBuilder
impl UnsafeUnpin for MultipartFileRequestBuilder
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