pub struct DirectMultipartUploadOptions {
pub part_size_bytes: Option<u64>,
}Expand description
What a direct_multipart client asks for when it opens a session.
A begin request declares no length and no digest: the session exists to receive bytes whose length may not be known yet. All it settles is the geometry the client cuts to.
Fields§
§part_size_bytes: Option<u64>Byte length of every part except the last, or None for the
server’s default.
The value bounds the object: a provider accepts at most 10,000
parts, so this session can carry at most part_size_bytes × 10_000
bytes. A client that knows its payload is very large asks for a
larger part size; one that does not know its length at all takes the
default and keeps asking for part URLs until its stream ends.
Trait Implementations§
Source§impl Clone for DirectMultipartUploadOptions
impl Clone for DirectMultipartUploadOptions
Source§fn clone(&self) -> DirectMultipartUploadOptions
fn clone(&self) -> DirectMultipartUploadOptions
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 DirectMultipartUploadOptions
Source§impl Debug for DirectMultipartUploadOptions
impl Debug for DirectMultipartUploadOptions
Source§impl Default for DirectMultipartUploadOptions
impl Default for DirectMultipartUploadOptions
Source§fn default() -> DirectMultipartUploadOptions
fn default() -> DirectMultipartUploadOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DirectMultipartUploadOptions
impl<'de> Deserialize<'de> for DirectMultipartUploadOptions
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 DirectMultipartUploadOptions
impl StructuralPartialEq for DirectMultipartUploadOptions
Auto Trait Implementations§
impl Freeze for DirectMultipartUploadOptions
impl RefUnwindSafe for DirectMultipartUploadOptions
impl Send for DirectMultipartUploadOptions
impl Sync for DirectMultipartUploadOptions
impl Unpin for DirectMultipartUploadOptions
impl UnsafeUnpin for DirectMultipartUploadOptions
impl UnwindSafe for DirectMultipartUploadOptions
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