pub struct FrameRequestedNavigation {
pub id: NavigationId,
pub req: Request,
pub timeout: Duration,
}Expand description
Represents a the request for a navigation
Fields§
§id: NavigationIdThe internal identifier
req: Requestthe cdp request that will trigger the navigation
timeout: DurationThe timeout after which the request will be considered timed out
Implementations§
pub fn new(id: NavigationId, req: Request) -> Self
Sourcepub fn set_frame_id(&mut self, frame_id: FrameId)
pub fn set_frame_id(&mut self, frame_id: FrameId)
This will set the id of the frame into the params frameId field.
Trait Implementations§
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