Struct chromiumoxide::cdp::browser_protocol::page::NavigationEntryBuilder
source · pub struct NavigationEntryBuilder { /* private fields */ }
Implementations§
pub fn id(self, id: impl Into<i64>) -> NavigationEntryBuilder
pub fn url(self, url: impl Into<String>) -> NavigationEntryBuilder
pub fn user_typed_url( self, user_typed_url: impl Into<String>, ) -> NavigationEntryBuilder
pub fn title(self, title: impl Into<String>) -> NavigationEntryBuilder
pub fn transition_type( self, transition_type: impl Into<TransitionType>, ) -> NavigationEntryBuilder
pub fn build(self) -> Result<NavigationEntry, String>
Trait Implementations§
source§fn clone(&self) -> NavigationEntryBuilder
fn clone(&self) -> NavigationEntryBuilder
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() -> NavigationEntryBuilder
fn default() -> NavigationEntryBuilder
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
)