pub struct Navigate {
pub method: NavigateMethod,
pub params: NavigateParams,
}Expand description
Navigates current page to the given URL. navigate
Fields§
§method: NavigateMethod§params: NavigateParamsImplementations§
pub fn builder() -> NavigateBuilder
pub const IDENTIFIER: &'static str = "Page.navigate"
pub fn identifier(&self) -> &'static str
Trait Implementations§
type Result = NavigateResult
fn result_from_value(result: Value) -> Result<Self::Result>
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
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <Navigate as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <Navigate as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§type Error = PageCommands
type Error = PageCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: PageCommands,
) -> Result<Self, <Navigate as TryFrom<PageCommands>>::Error>
fn try_from( e: PageCommands, ) -> Result<Self, <Navigate as TryFrom<PageCommands>>::Error>
Performs the conversion.
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