pub struct GetVersionReturnObjectBuilder { /* private fields */ }Expand description
Builder for GetVersionReturnObject.
Implementations§
Source§impl GetVersionReturnObjectBuilder
impl GetVersionReturnObjectBuilder
Sourcepub fn protocol_version(&mut self, value: String) -> &mut Self
pub fn protocol_version(&mut self, value: String) -> &mut Self
Protocol version.
Sourcepub fn user_agent(&mut self, value: String) -> &mut Self
pub fn user_agent(&mut self, value: String) -> &mut Self
User-Agent.
Sourcepub fn js_version(&mut self, value: String) -> &mut Self
pub fn js_version(&mut self, value: String) -> &mut Self
V8 version.
Sourcepub fn build(
&self,
) -> Result<GetVersionReturnObject, GetVersionReturnObjectBuilderError>
pub fn build( &self, ) -> Result<GetVersionReturnObject, GetVersionReturnObjectBuilderError>
Trait Implementations§
Source§impl Clone for GetVersionReturnObjectBuilder
impl Clone for GetVersionReturnObjectBuilder
Source§fn clone(&self) -> GetVersionReturnObjectBuilder
fn clone(&self) -> GetVersionReturnObjectBuilder
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§
impl Freeze for GetVersionReturnObjectBuilder
impl RefUnwindSafe for GetVersionReturnObjectBuilder
impl Send for GetVersionReturnObjectBuilder
impl Sync for GetVersionReturnObjectBuilder
impl Unpin for GetVersionReturnObjectBuilder
impl UnsafeUnpin for GetVersionReturnObjectBuilder
impl UnwindSafe for GetVersionReturnObjectBuilder
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