pub struct DownloadProgressEvent {
pub guid: String,
pub total_bytes: f64,
pub received_bytes: f64,
pub state: DownloadProgressState,
}Expand description
Event: Page.downloadProgress
Fired when download makes progress.
Fields§
§guid: StringGlobal unique identifier of the download.
total_bytes: f64Total expected bytes to download.
received_bytes: f64Total bytes received.
state: DownloadProgressStateDownload status.
Trait Implementations§
Source§impl Clone for DownloadProgressEvent
impl Clone for DownloadProgressEvent
Source§fn clone(&self) -> DownloadProgressEvent
fn clone(&self) -> DownloadProgressEvent
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 DownloadProgressEvent
impl Debug for DownloadProgressEvent
Source§impl<'de> Deserialize<'de> for DownloadProgressEvent
impl<'de> Deserialize<'de> for DownloadProgressEvent
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 DownloadProgressEvent
impl RefUnwindSafe for DownloadProgressEvent
impl Send for DownloadProgressEvent
impl Sync for DownloadProgressEvent
impl Unpin for DownloadProgressEvent
impl UnwindSafe for DownloadProgressEvent
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