pub struct MultipartUploadResume {
pub upload_id: UploadId,
pub part_size_bytes: u64,
pub parts: Vec<CompletedUploadPart>,
}Expand description
What a caller keeps so an interrupted direct multipart upload can pick up rather than start over.
The parts are the caller’s own bookkeeping, deliberately: an upload session records the geometry it was opened with and nothing per part, so the only account of which parts landed is the one the uploading client kept. Resuming with fewer parts than actually landed re-sends them, which is harmless; resuming with parts that did not land fails the completion, which is the assembly refusing to be wrong.
Fields§
§upload_id: UploadId§part_size_bytes: u64The part size the session was opened with. A resumed upload must cut the payload exactly as the interrupted one did, or the parts it sends will not line up with the ones already there.
parts: Vec<CompletedUploadPart>Trait Implementations§
Source§impl Clone for MultipartUploadResume
impl Clone for MultipartUploadResume
Source§fn clone(&self) -> MultipartUploadResume
fn clone(&self) -> MultipartUploadResume
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MultipartUploadResume
impl Debug for MultipartUploadResume
impl Eq for MultipartUploadResume
Source§impl PartialEq for MultipartUploadResume
impl PartialEq for MultipartUploadResume
impl StructuralPartialEq for MultipartUploadResume
Auto Trait Implementations§
impl Freeze for MultipartUploadResume
impl RefUnwindSafe for MultipartUploadResume
impl Send for MultipartUploadResume
impl Sync for MultipartUploadResume
impl Unpin for MultipartUploadResume
impl UnsafeUnpin for MultipartUploadResume
impl UnwindSafe for MultipartUploadResume
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.