pub struct GetVersionReturnsBuilder { /* private fields */ }
Implementations§
Source§impl GetVersionReturnsBuilder
impl GetVersionReturnsBuilder
pub fn protocol_version( self, protocol_version: impl Into<String>, ) -> GetVersionReturnsBuilder
pub fn product(self, product: impl Into<String>) -> GetVersionReturnsBuilder
pub fn revision(self, revision: impl Into<String>) -> GetVersionReturnsBuilder
pub fn user_agent( self, user_agent: impl Into<String>, ) -> GetVersionReturnsBuilder
pub fn js_version( self, js_version: impl Into<String>, ) -> GetVersionReturnsBuilder
pub fn build(self) -> Result<GetVersionReturns, String>
Trait Implementations§
Source§impl Clone for GetVersionReturnsBuilder
impl Clone for GetVersionReturnsBuilder
Source§fn clone(&self) -> GetVersionReturnsBuilder
fn clone(&self) -> GetVersionReturnsBuilder
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§impl Default for GetVersionReturnsBuilder
impl Default for GetVersionReturnsBuilder
Source§fn default() -> GetVersionReturnsBuilder
fn default() -> GetVersionReturnsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GetVersionReturnsBuilder
impl RefUnwindSafe for GetVersionReturnsBuilder
impl Send for GetVersionReturnsBuilder
impl Sync for GetVersionReturnsBuilder
impl Unpin for GetVersionReturnsBuilder
impl UnwindSafe for GetVersionReturnsBuilder
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§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more