Struct chrome_remote_interface_model::page::DownloadWillBeginEvent [−][src]
This is supported on crate features
Page
and Debugger
and DOM
and IO
and Network
and Runtime
and experimental
only.Fired when page is about to start a download.
Implementations
impl DownloadWillBeginEvent
[src]
pub fn builder() -> DownloadWillBeginEventBuilder
[src]
pub fn frame_id(&self) -> &FrameId
[src]
Id of the frame that caused download to begin.
pub fn guid(&self) -> &str
[src]
Global unique identifier of the download.
pub fn url(&self) -> &str
[src]
URL of the resource being downloaded.
pub fn suggested_filename(&self) -> &str
[src]
Suggested file name of the resource (the actual name of the file saved on disk may differ).
Trait Implementations
impl Clone for DownloadWillBeginEvent
[src]
fn clone(&self) -> DownloadWillBeginEvent
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for DownloadWillBeginEvent
[src]
impl<'de> Deserialize<'de> for DownloadWillBeginEvent
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for DownloadWillBeginEvent
[src]
Auto Trait Implementations
impl RefUnwindSafe for DownloadWillBeginEvent
[src]
impl Send for DownloadWillBeginEvent
[src]
impl Sync for DownloadWillBeginEvent
[src]
impl Unpin for DownloadWillBeginEvent
[src]
impl UnwindSafe for DownloadWillBeginEvent
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,