pub struct DownloadProgressEventParams {
pub guid: String,
pub total_bytes: JsFloat,
pub received_bytes: JsFloat,
pub state: DownloadProgressStateOption,
pub file_path: Option<String>,
}Fields§
§guid: String§total_bytes: JsFloat§received_bytes: JsFloat§state: DownloadProgressStateOption§file_path: Option<String>Trait Implementations§
Source§impl Clone for DownloadProgressEventParams
impl Clone for DownloadProgressEventParams
Source§fn clone(&self) -> DownloadProgressEventParams
fn clone(&self) -> DownloadProgressEventParams
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 DownloadProgressEventParams
impl Debug for DownloadProgressEventParams
Source§impl<'de> Deserialize<'de> for DownloadProgressEventParams
impl<'de> Deserialize<'de> for DownloadProgressEventParams
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 StructuralPartialEq for DownloadProgressEventParams
Auto Trait Implementations§
impl Freeze for DownloadProgressEventParams
impl RefUnwindSafe for DownloadProgressEventParams
impl Send for DownloadProgressEventParams
impl Sync for DownloadProgressEventParams
impl Unpin for DownloadProgressEventParams
impl UnwindSafe for DownloadProgressEventParams
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