pub struct UploadPart {
pub id: String,
pub created_at: u64,
pub upload_id: String,
}
Expand description
The upload Part represents a chunk of bytes we can add to an Upload object.
Fields§
§id: String
The upload Part unique identifier, which can be referenced in API endpoints.
created_at: u64
The Unix timestamp (in seconds) for when the Part was created.
upload_id: String
The ID of the Upload object that this Part was added to.
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 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