pub struct UploadProgress {
pub bytes_uploaded: u64,
pub total_bytes: u64,
pub percentage: f64,
}
Expand description
Progress information for file uploads
Fields§
§bytes_uploaded: u64
Bytes uploaded so far
total_bytes: u64
Total bytes to upload
percentage: f64
Progress percentage (0-100)
Trait Implementations§
Source§impl Clone for UploadProgress
impl Clone for UploadProgress
Source§fn clone(&self) -> UploadProgress
fn clone(&self) -> UploadProgress
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 moreAuto Trait Implementations§
impl Freeze for UploadProgress
impl RefUnwindSafe for UploadProgress
impl Send for UploadProgress
impl Sync for UploadProgress
impl Unpin for UploadProgress
impl UnwindSafe for UploadProgress
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