Struct chromiumoxide::cdp::browser_protocol::page::NavigateParams[][src]

pub struct NavigateParams {
    pub url: String,
    pub referrer: Option<String>,
    pub transition_type: Option<TransitionType>,
    pub frame_id: Option<FrameId>,
    pub referrer_policy: Option<ReferrerPolicy>,
}

Navigates current page to the given URL. navigate

Fields

url: String

URL to navigate the page to.

referrer: Option<String>

Referrer URL.

transition_type: Option<TransitionType>

Intended transition type.

frame_id: Option<FrameId>

Frame id to navigate, if not specified navigates the top frame.

referrer_policy: Option<ReferrerPolicy>

Referrer-policy used for the navigation.

Implementations

impl NavigateParams[src]

pub fn new(url: impl Into<String>) -> NavigateParams[src]

impl NavigateParams[src]

impl NavigateParams[src]

pub const IDENTIFIER: &'static str[src]

Trait Implementations

impl Clone for NavigateParams[src]

impl Command for NavigateParams[src]

type Response = NavigateReturns

The type of the response this request triggers on the chromium server

impl Debug for NavigateParams[src]

impl<'de> Deserialize<'de> for NavigateParams[src]

impl<T> From<T> for NavigateParams where
    T: Into<String>, 
[src]

impl Method for NavigateParams[src]

impl MethodType for NavigateParams[src]

impl PartialEq<NavigateParams> for NavigateParams[src]

impl Serialize for NavigateParams[src]

impl StructuralPartialEq for NavigateParams[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,