pub struct GetVersionReturnsBuilder { /* private fields */ }Implementations§
Source§impl GetVersionReturnsBuilder
impl GetVersionReturnsBuilder
pub fn protocol_version(self, protocol_version: impl Into<String>) -> Self
pub fn product(self, product: impl Into<String>) -> Self
pub fn revision(self, revision: impl Into<String>) -> Self
pub fn user_agent(self, user_agent: impl Into<String>) -> Self
pub fn js_version(self, js_version: impl Into<String>) -> Self
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 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 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