pub struct UploadPart<'a> { /* private fields */ }Expand description
Upload a part to a previously created multipart upload.
Every part must be between 5 MB and 5 GB in size, except for the last part.
The part must be uploaded via a PUT request, on success the server will
return an ETag header which must be given to
CompleteMultipartUpload in order to
complete the upload.
A maximum of 10,000 parts can be uploaded to a single multipart upload.
The uploaded part will consume storage on OSS until the multipart upload is completed or aborted.
Find out more about UploadPart from the OSS API Reference
Implementations§
Trait Implementations§
Source§impl<'a> Clone for UploadPart<'a>
impl<'a> Clone for UploadPart<'a>
Source§fn clone(&self) -> UploadPart<'a>
fn clone(&self) -> UploadPart<'a>
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for UploadPart<'a>
impl<'a> Debug for UploadPart<'a>
Source§impl<'a> OSSAction<'a> for UploadPart<'a>
impl<'a> OSSAction<'a> for UploadPart<'a>
const METHOD: Method = Method::Put
Source§fn query_mut(&mut self) -> &mut Map<'a>
fn query_mut(&mut self) -> &mut Map<'a>
Get a mutable reference to the query string of this action
Source§fn headers_mut(&mut self) -> &mut Map<'a>
fn headers_mut(&mut self) -> &mut Map<'a>
Get a mutable reference to the signed headers of this action Read more
Source§fn sign_with_time(&self, expires_in: Duration, time: &OffsetDateTime) -> Url
fn sign_with_time(&self, expires_in: Duration, time: &OffsetDateTime) -> Url
Takes the time at which the URL should be signed
Used for testing purposes
Auto Trait Implementations§
impl<'a> Freeze for UploadPart<'a>
impl<'a> RefUnwindSafe for UploadPart<'a>
impl<'a> Send for UploadPart<'a>
impl<'a> Sync for UploadPart<'a>
impl<'a> Unpin for UploadPart<'a>
impl<'a> UnwindSafe for UploadPart<'a>
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)