pub struct NavigateReturns<'a> { /* private fields */ }Expand description
Navigates current page to the given URL.
Implementations§
Sourcepub fn builder(frame_id: impl Into<FrameId<'a>>) -> NavigateReturnsBuilder<'a>
pub fn builder(frame_id: impl Into<FrameId<'a>>) -> NavigateReturnsBuilder<'a>
Creates a builder for this type with the required parameters:
frame_id: Frame id that has navigated (or failed to navigate)
Sourcepub fn loader_id(&self) -> Option<&LoaderId<'a>>
pub fn loader_id(&self) -> Option<&LoaderId<'a>>
Loader identifier. This is omitted in case of same-document navigation, as the previously committed loaderId would not change.
Sourcepub fn error_text(&self) -> Option<&str>
pub fn error_text(&self) -> Option<&str>
User friendly error message, present if and only if navigation has failed.
Sourcepub fn is_download(&self) -> Option<bool>
pub fn is_download(&self) -> Option<bool>
Whether the navigation resulted in a download.
Trait Implementations§
Source§fn clone(&self) -> NavigateReturns<'a>
fn clone(&self) -> NavigateReturns<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§fn default() -> NavigateReturns<'a>
fn default() -> NavigateReturns<'a>
Returns the “default value” for a type. Read more
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