pub struct DirectMultipartUpload {
pub part_size_bytes: u64,
}Expand description
Direct multipart upload details: the geometry a client cuts its payload into parts with, and nothing else.
There is no content reference here, and no part count. The session has not been told what it is about to receive, so there is no identity to echo and no arithmetic to do — the server mints the content object behind the session and names it in the completion response. The provider’s upload id is absent for the same reason it always was: a client asks this server for part URLs by part number and never talks to the provider’s multipart API in its own words.
Fields§
§part_size_bytes: u64Byte length of every part except the last. At most 10,000 parts may
be uploaded, so this bounds the object at part_size_bytes × 10_000.
Trait Implementations§
Source§impl Clone for DirectMultipartUpload
impl Clone for DirectMultipartUpload
Source§fn clone(&self) -> DirectMultipartUpload
fn clone(&self) -> DirectMultipartUpload
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 moreimpl Copy for DirectMultipartUpload
Source§impl Debug for DirectMultipartUpload
impl Debug for DirectMultipartUpload
Source§impl<'de> Deserialize<'de> for DirectMultipartUpload
impl<'de> Deserialize<'de> for DirectMultipartUpload
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 DirectMultipartUpload
Source§impl PartialEq for DirectMultipartUpload
impl PartialEq for DirectMultipartUpload
Source§impl Serialize for DirectMultipartUpload
impl Serialize for DirectMultipartUpload
impl StructuralPartialEq for DirectMultipartUpload
Auto Trait Implementations§
impl Freeze for DirectMultipartUpload
impl RefUnwindSafe for DirectMultipartUpload
impl Send for DirectMultipartUpload
impl Sync for DirectMultipartUpload
impl Unpin for DirectMultipartUpload
impl UnsafeUnpin for DirectMultipartUpload
impl UnwindSafe for DirectMultipartUpload
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