pub struct UploadHandle {
pub file_id: String,
pub mime_type: Option<String>,
pub size_bytes: Option<u64>,
}Expand description
Uploaded file/media handle returned by the client.
Fields§
§file_id: StringOpaque Inline file/media ID.
mime_type: Option<String>Optional MIME type.
size_bytes: Option<u64>Optional content length in bytes.
Trait Implementations§
Source§impl Clone for UploadHandle
impl Clone for UploadHandle
Source§fn clone(&self) -> UploadHandle
fn clone(&self) -> UploadHandle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UploadHandle
impl Debug for UploadHandle
Source§impl<'de> Deserialize<'de> for UploadHandle
impl<'de> Deserialize<'de> for UploadHandle
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
impl Eq for UploadHandle
Source§impl PartialEq for UploadHandle
impl PartialEq for UploadHandle
Source§impl Serialize for UploadHandle
impl Serialize for UploadHandle
impl StructuralPartialEq for UploadHandle
Auto Trait Implementations§
impl Freeze for UploadHandle
impl RefUnwindSafe for UploadHandle
impl Send for UploadHandle
impl Sync for UploadHandle
impl Unpin for UploadHandle
impl UnsafeUnpin for UploadHandle
impl UnwindSafe for UploadHandle
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