pub struct UploadPart {
pub id: String,
pub created_at: Option<u64>,
pub object: String,
pub upload_id: Option<String>,
pub extra: BTreeMap<String, Value>,
}Expand description
表示 upload part 对象。
Fields§
§id: Stringpart ID。
created_at: Option<u64>创建时间。
object: String对象类型。
upload_id: Option<String>所属 upload ID。
extra: BTreeMap<String, Value>额外字段。
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
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 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