pub struct UploadFileBuilder { /* private fields */ }Expand description
Fluent builder for upload_file (spec §6).
Implementations§
Source§impl UploadFileBuilder
impl UploadFileBuilder
Sourcepub fn content_type(self, content_type: impl Into<String>) -> Self
pub fn content_type(self, content_type: impl Into<String>) -> Self
The MIME type of the file — one of the spec §3 video MIME types,
e.g. "video/mp4".
pub async fn send(self) -> Result<UploadFileOutput, Error>
Auto Trait Implementations§
impl !RefUnwindSafe for UploadFileBuilder
impl !UnwindSafe for UploadFileBuilder
impl Freeze for UploadFileBuilder
impl Send for UploadFileBuilder
impl Sync for UploadFileBuilder
impl Unpin for UploadFileBuilder
impl UnsafeUnpin for UploadFileBuilder
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