pub struct NavigateReturns {
pub frameId: FrameId,
pub loaderId: Option<LoaderId>,
pub errorText: Option<String>,
pub isDownload: Option<bool>,
}Expand description
Navigates current page to the given URL.
Fields§
§frameId: FrameIdFrame id that has navigated (or failed to navigate)
loaderId: Option<LoaderId>Loader identifier. This is omitted in case of same-document navigation, as the previously committed loaderId would not change.
errorText: Option<String>User friendly error message, present if and only if navigation has failed.
isDownload: Option<bool>Whether the navigation resulted in a download.
Trait Implementations§
Source§fn clone(&self) -> NavigateReturns
fn clone(&self) -> NavigateReturns
Returns a duplicate of the value. Read more
1.0.0 · 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
fn default() -> NavigateReturns
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