pub struct PresignedUploadedPart {
pub part_number: u64,
pub provider_part_id: Option<String>,
pub offset: u64,
pub size: u64,
pub etag: Option<String>,
}Expand description
Result captured after a presigned part upload succeeds.
Fields§
§part_number: u64Provider-defined part number.
provider_part_id: Option<String>Optional provider-specific part identifier, for example Azure block id.
offset: u64Start offset in the full file.
size: u64Uploaded byte size.
etag: Option<String>Optional ETag returned by providers such as Aliyun OSS/S3.
Implementations§
Source§impl PresignedUploadedPart
impl PresignedUploadedPart
Sourcepub fn etag_unquoted(&self) -> Option<&str>
pub fn etag_unquoted(&self) -> Option<&str>
Returns the ETag without surrounding double quotes.
Trait Implementations§
Source§impl Clone for PresignedUploadedPart
impl Clone for PresignedUploadedPart
Source§fn clone(&self) -> PresignedUploadedPart
fn clone(&self) -> PresignedUploadedPart
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 PresignedUploadedPart
impl Debug for PresignedUploadedPart
Source§impl<'de> Deserialize<'de> for PresignedUploadedPart
impl<'de> Deserialize<'de> for PresignedUploadedPart
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 PresignedUploadedPart
Source§impl PartialEq for PresignedUploadedPart
impl PartialEq for PresignedUploadedPart
Source§impl Serialize for PresignedUploadedPart
impl Serialize for PresignedUploadedPart
impl StructuralPartialEq for PresignedUploadedPart
Auto Trait Implementations§
impl Freeze for PresignedUploadedPart
impl RefUnwindSafe for PresignedUploadedPart
impl Send for PresignedUploadedPart
impl Sync for PresignedUploadedPart
impl Unpin for PresignedUploadedPart
impl UnsafeUnpin for PresignedUploadedPart
impl UnwindSafe for PresignedUploadedPart
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