pub struct UploadInfo {
pub bytes_uploaded: usize,
pub total_size: Option<usize>,
pub metadata: Option<HashMap<String, String>>,
}Expand description
Describes a file on the server.
Fields§
§bytes_uploaded: usizeHow many bytes have been uploaded.
total_size: Option<usize>The total size of the file.
metadata: Option<HashMap<String, String>>Metadata supplied when the file was created.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UploadInfo
impl RefUnwindSafe for UploadInfo
impl Send for UploadInfo
impl Sync for UploadInfo
impl Unpin for UploadInfo
impl UnwindSafe for UploadInfo
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