pub struct UploadPart {
pub part_number: u32,
pub etag: String,
pub size: u64,
pub last_modified: DateTime<Utc>,
pub checksum: Option<ChecksumData>,
}Expand description
A single part within a multipart upload.
Fields§
§part_number: u32The part number (1-based, up to 10 000).
etag: StringThe entity tag for this part (quoted hex MD5).
size: u64Size of this part in bytes.
last_modified: DateTime<Utc>When this part was last modified / uploaded.
checksum: Option<ChecksumData>Optional checksum data for this part.
Trait Implementations§
Source§impl Clone for UploadPart
impl Clone for UploadPart
Source§fn clone(&self) -> UploadPart
fn clone(&self) -> UploadPart
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 UploadPart
impl Debug for UploadPart
Source§impl<'de> Deserialize<'de> for UploadPart
impl<'de> Deserialize<'de> for UploadPart
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
Auto Trait Implementations§
impl Freeze for UploadPart
impl RefUnwindSafe for UploadPart
impl Send for UploadPart
impl Sync for UploadPart
impl Unpin for UploadPart
impl UnsafeUnpin for UploadPart
impl UnwindSafe for UploadPart
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