pub struct FrameRequestedNavigationEvent {
pub frame_id: FrameId,
pub reason: ClientNavigationReason,
pub url: String,
pub disposition: ClientNavigationDisposition,
}Expand description
Fired when a renderer-initiated navigation is requested. Navigation may still be cancelled after the event is issued.
Experimental: may change without notice.
Payload of the Page.frameRequestedNavigation event.
Fields§
§frame_id: FrameIdId of the frame that is being navigated.
reason: ClientNavigationReasonThe reason for the navigation.
url: StringThe destination URL for the requested navigation.
disposition: ClientNavigationDispositionThe disposition for the navigation.
Trait Implementations§
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§
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