Struct cdp::page::FrameScheduledNavigationEvent
[−]
[src]
pub struct FrameScheduledNavigationEvent<'a> {
pub frame_id: FrameId<'a>,
pub delay: f64,
pub reason: FrameScheduledNavigationEventReason,
pub url: Cow<'a, str>,
}[Experimental] Fired when frame schedules a potential navigation.
Event Page.frameScheduledNavigation
Domain Module: cdp::page
Event Struct: cdp::page::FrameScheduledNavigationEvent
Fields
frame_id: FrameId<'a>
Id of the frame that has scheduled a navigation.
delay: f64
Delay (in seconds) until the navigation is scheduled to begin. The navigation is not guaranteed to start.
reason: FrameScheduledNavigationEventReason
[Experimental] The reason for the navigation.
url: Cow<'a, str>
[Experimental] The destination URL for the scheduled navigation.
Trait Implementations
impl<'a> Clone for FrameScheduledNavigationEvent<'a>[src]
fn clone(&self) -> FrameScheduledNavigationEvent<'a>[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl<'a> Debug for FrameScheduledNavigationEvent<'a>[src]
impl<'a> PartialEq for FrameScheduledNavigationEvent<'a>[src]
fn eq(&self, __arg_0: &FrameScheduledNavigationEvent<'a>) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &FrameScheduledNavigationEvent<'a>) -> bool[src]
This method tests for !=.
impl<'a> CdpEvent for FrameScheduledNavigationEvent<'a>[src]
const EVENT_NAME: &'static str
EVENT_NAME: &'static str = "Page.frameScheduledNavigation"
impl<'a> SerializeCdpEvent for FrameScheduledNavigationEvent<'a>[src]
fn event_name(&self) -> &str[src]
fn serialize_event_params<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer, [src]
S: Serializer,
impl<'de, 'a> DeserializeCdpEvent<'de> for FrameScheduledNavigationEvent<'a>[src]
fn deserialize_event<D>(
name: &str,
params: D
) -> Result<Result<Self, D::Error>, D> where
D: Deserializer<'de>, [src]
name: &str,
params: D
) -> Result<Result<Self, D::Error>, D> where
D: Deserializer<'de>,