pub struct UploadRequest { /* private fields */ }Available on crate feature
upload only.Expand description
Builder to construct a request for file uploads
Implementations§
Source§impl UploadRequest
impl UploadRequest
Add tags to the edit and upload entry
Sourcepub fn ignore_warnings(self, val: bool) -> Self
pub fn ignore_warnings(self, val: bool) -> Self
Ignore any upload warnings
Sourcepub fn chunk_size(self, val: usize) -> Self
pub fn chunk_size(self, val: usize) -> Self
Set the chunk size, in bytes. By default it is
5MB (5_000_000).
Auto Trait Implementations§
impl Freeze for UploadRequest
impl RefUnwindSafe for UploadRequest
impl Send for UploadRequest
impl Sync for UploadRequest
impl Unpin for UploadRequest
impl UnsafeUnpin for UploadRequest
impl UnwindSafe for UploadRequest
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