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§
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 copy of the value. Read more
1.0.0 · source§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> S3Action<'a> for UploadPart<'a>
impl<'a> S3Action<'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> 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§
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