Struct
NavigationRequest
pub struct NavigationRequest { /* private fields */ }A page’s navigation of the window it is in, passed to
App::on_navigation.
Methods
#pub fn url(&self) -> &str
The URL the window would load.
#pub fn user_gesture(&self) -> bool
Whether the user asked, by clicking a link or a button, rather than a script on its own.
#pub fn is_redirect(&self) -> bool
Whether the server sent the navigation here from the URL it asked for first.
Trait implementations
impl Clone for NavigationRequestimpl Debug for NavigationRequest