pub enum CompleteUploadBody {
ServiceProxied {},
DirectPut {
content: UploadContentClaim,
},
DirectMultipart {
content: UploadContentClaim,
parts: Vec<CompletedUploadPart>,
},
}Expand description
Completes an upload using the mode that started it.
Variants§
ServiceProxied
Complete a service-proxied upload.
DirectPut
Complete a direct-PUT upload.
Fields
§
content: UploadContentClaimExpected length and checksum of the stored object.
DirectMultipart
Complete a direct multipart upload.
Fields
§
content: UploadContentClaimExpected length and checksum of the assembled object.
§
parts: Vec<CompletedUploadPart>Uploaded parts in ascending part order.
Implementations§
Source§impl CompleteUploadBody
impl CompleteUploadBody
Sourcepub const fn mode(&self) -> UploadMode
pub const fn mode(&self) -> UploadMode
Returns the upload mode in this request.
Trait Implementations§
Source§impl Clone for CompleteUploadBody
impl Clone for CompleteUploadBody
Source§impl Debug for CompleteUploadBody
impl Debug for CompleteUploadBody
Source§impl<'de> Deserialize<'de> for CompleteUploadBody
impl<'de> Deserialize<'de> for CompleteUploadBody
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CompleteUploadBody
Source§impl PartialEq for CompleteUploadBody
impl PartialEq for CompleteUploadBody
Source§impl Serialize for CompleteUploadBody
impl Serialize for CompleteUploadBody
impl StructuralPartialEq for CompleteUploadBody
Auto Trait Implementations§
impl Freeze for CompleteUploadBody
impl RefUnwindSafe for CompleteUploadBody
impl Send for CompleteUploadBody
impl Sync for CompleteUploadBody
impl Unpin for CompleteUploadBody
impl UnsafeUnpin for CompleteUploadBody
impl UnwindSafe for CompleteUploadBody
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