pub struct GetVersionReturnBuilder { /* private fields */ }
Available on crate feature
Browser
only.Implementations§
Source§impl GetVersionReturnBuilder
impl GetVersionReturnBuilder
Sourcepub fn protocol_version(&mut self, v: String) -> &mut Self
pub fn protocol_version(&mut self, v: String) -> &mut Self
Protocol version.
Sourcepub fn user_agent(&mut self, v: String) -> &mut Self
pub fn user_agent(&mut self, v: String) -> &mut Self
User-Agent.
Sourcepub fn js_version(&mut self, v: String) -> &mut Self
pub fn js_version(&mut self, v: String) -> &mut Self
V8 version.
pub fn build(&mut self) -> Result<GetVersionReturn, &'static str>
Trait Implementations§
Source§impl Clone for GetVersionReturnBuilder
impl Clone for GetVersionReturnBuilder
Source§fn clone(&self) -> GetVersionReturnBuilder
fn clone(&self) -> GetVersionReturnBuilder
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 moreSource§impl Debug for GetVersionReturnBuilder
impl Debug for GetVersionReturnBuilder
Auto Trait Implementations§
impl Freeze for GetVersionReturnBuilder
impl RefUnwindSafe for GetVersionReturnBuilder
impl Send for GetVersionReturnBuilder
impl Sync for GetVersionReturnBuilder
impl Unpin for GetVersionReturnBuilder
impl UnwindSafe for GetVersionReturnBuilder
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