pub struct UploadPart {
pub id: String,
pub created_at: u32,
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: u32
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 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 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