Struct rusty_s3::actions::UploadPart
source · [−]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 S3 until the multipart upload is completed or aborted.
Find out more about UploadPart from the AWS API Reference
Implementations
sourceimpl<'a> UploadPart<'a>
impl<'a> UploadPart<'a>
Trait Implementations
sourceimpl<'a> Clone for UploadPart<'a>
impl<'a> Clone for UploadPart<'a>
sourcefn clone(&self) -> UploadPart<'a>
fn clone(&self) -> UploadPart<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl<'a> Debug for UploadPart<'a>
impl<'a> Debug for UploadPart<'a>
sourceimpl<'a> S3Action<'a> for UploadPart<'a>
impl<'a> S3Action<'a> for UploadPart<'a>
const METHOD: Method = Method::Put
sourcefn 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
sourcefn 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
sourcefn 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 Read more
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more