pub struct NavigateCommandBuilder { /* private fields */ }Available on crate features
Page and Debugger and DOM and IO and Network and Runtime only.Implementations§
Sourcepub fn transition_type(&mut self, v: TransitionType) -> &mut Self
pub fn transition_type(&mut self, v: TransitionType) -> &mut Self
Intended transition type.
Sourcepub fn frame_id(&mut self, v: FrameId) -> &mut Self
pub fn frame_id(&mut self, v: FrameId) -> &mut Self
Frame id to navigate, if not specified navigates the top frame.
Sourcepub fn referrer_policy(&mut self, v: JsonValue) -> &mut Self
Available on crate feature experimental only.
pub fn referrer_policy(&mut self, v: JsonValue) -> &mut Self
experimental only.Referrer-policy used for the navigation.
pub fn build(&mut self) -> Result<NavigateCommand, &'static str>
Trait Implementations§
Source§fn clone(&self) -> NavigateCommandBuilder
fn clone(&self) -> NavigateCommandBuilder
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 moreAuto 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