Struct chromiumoxide::cdp::browser_protocol::page::NavigateParamsBuilder
source · pub struct NavigateParamsBuilder { /* private fields */ }
Implementations§
pub fn url(self, url: impl Into<String>) -> NavigateParamsBuilder
pub fn referrer(self, referrer: impl Into<String>) -> NavigateParamsBuilder
pub fn transition_type( self, transition_type: impl Into<TransitionType>, ) -> NavigateParamsBuilder
pub fn frame_id(self, frame_id: impl Into<FrameId>) -> NavigateParamsBuilder
pub fn referrer_policy( self, referrer_policy: impl Into<ReferrerPolicy>, ) -> NavigateParamsBuilder
pub fn build(self) -> Result<NavigateParams, String>
Trait Implementations§
source§fn clone(&self) -> NavigateParamsBuilder
fn clone(&self) -> NavigateParamsBuilder
Returns a copy 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() -> NavigateParamsBuilder
fn default() -> NavigateParamsBuilder
Returns the “default value” for a type. 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)