pub struct UploadPart {
pub id: String,
pub created_at: i64,
pub upload_id: String,
pub object: 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: i64
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.
object: String
The object type, which is always upload.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 · 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 Default for UploadPart
impl Default for UploadPart
Source§fn default() -> UploadPart
fn default() -> UploadPart
Returns the “default value” for a type. 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 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