pub struct DownloadProgress {
pub method: DownloadProgressMethod,
pub params: DownloadProgressParams,
}Expand description
Fired when download makes progress. Last call has |done| == true. downloadProgress
Fields§
§method: DownloadProgressMethod§params: DownloadProgressParamsImplementations§
Source§impl DownloadProgress
impl DownloadProgress
pub const IDENTIFIER: &'static str = "Browser.downloadProgress"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for DownloadProgress
impl Clone for DownloadProgress
Source§fn clone(&self) -> DownloadProgress
fn clone(&self) -> DownloadProgress
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 DownloadProgress
impl Debug for DownloadProgress
Source§impl<'de> Deserialize<'de> for DownloadProgress
impl<'de> Deserialize<'de> for DownloadProgress
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
Source§impl From<DownloadProgress> for BrowserEvents
impl From<DownloadProgress> for BrowserEvents
Source§fn from(v: DownloadProgress) -> Self
fn from(v: DownloadProgress) -> Self
Converts to this type from the input type.
Source§impl From<DownloadProgress> for BrowserProtocolEvents
impl From<DownloadProgress> for BrowserProtocolEvents
Source§fn from(v: DownloadProgress) -> Self
fn from(v: DownloadProgress) -> Self
Converts to this type from the input type.
Source§impl From<DownloadProgress> for Event
impl From<DownloadProgress> for Event
Source§fn from(v: DownloadProgress) -> Self
fn from(v: DownloadProgress) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DownloadProgress
impl PartialEq for DownloadProgress
Source§impl Serialize for DownloadProgress
impl Serialize for DownloadProgress
Source§impl TryFrom<BrowserEvents> for DownloadProgress
impl TryFrom<BrowserEvents> for DownloadProgress
Source§type Error = BrowserEvents
type Error = BrowserEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserEvents,
) -> Result<Self, <DownloadProgress as TryFrom<BrowserEvents>>::Error>
fn try_from( e: BrowserEvents, ) -> Result<Self, <DownloadProgress as TryFrom<BrowserEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<BrowserProtocolEvents> for DownloadProgress
impl TryFrom<BrowserProtocolEvents> for DownloadProgress
Source§type Error = BrowserProtocolEvents
type Error = BrowserProtocolEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolEvents,
) -> Result<Self, <DownloadProgress as TryFrom<BrowserProtocolEvents>>::Error>
fn try_from( e: BrowserProtocolEvents, ) -> Result<Self, <DownloadProgress as TryFrom<BrowserProtocolEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<Event> for DownloadProgress
impl TryFrom<Event> for DownloadProgress
impl StructuralPartialEq for DownloadProgress
Auto Trait Implementations§
impl Freeze for DownloadProgress
impl RefUnwindSafe for DownloadProgress
impl Send for DownloadProgress
impl Sync for DownloadProgress
impl Unpin for DownloadProgress
impl UnsafeUnpin for DownloadProgress
impl UnwindSafe for DownloadProgress
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