pub struct UploadPart {
pub part_no: u64,
pub start_offset: u64,
pub end_offset: u64,
pub status: UploadPartStatus,
pub locked: bool,
pub extra: BTreeMap<String, Value>,
}Expand description
One upload part.
Fields§
§part_no: u64Part number.
start_offset: u64Inclusive start offset.
end_offset: u64Inclusive end offset.
status: UploadPartStatusPart status.
locked: boolWhether the part is locked.
extra: BTreeMap<String, Value>Additional untyped fields preserved for forward compatibility.
Implementations§
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 · 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
Source§impl PartialEq for UploadPart
impl PartialEq for UploadPart
Source§impl Serialize for UploadPart
impl Serialize for UploadPart
impl StructuralPartialEq for UploadPart
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