pub struct GetInfoReturnObjectBuilder { /* private fields */ }Expand description
Builder for GetInfoReturnObject.
Implementations§
Source§impl GetInfoReturnObjectBuilder
impl GetInfoReturnObjectBuilder
Sourcepub fn model_name(&mut self, value: String) -> &mut Self
pub fn model_name(&mut self, value: String) -> &mut Self
A platform-dependent description of the model of the machine. On Mac OS, this is, for example, ‘MacBookPro’. Will be the empty string if not supported.
Sourcepub fn model_version(&mut self, value: String) -> &mut Self
pub fn model_version(&mut self, value: String) -> &mut Self
A platform-dependent description of the version of the machine. On Mac OS, this is, for example, ‘10.1’. Will be the empty string if not supported.
Sourcepub fn command_line(&mut self, value: String) -> &mut Self
pub fn command_line(&mut self, value: String) -> &mut Self
The command line string used to launch the browser. Will be the empty string if not supported.
Sourcepub fn build(
&self,
) -> Result<GetInfoReturnObject, GetInfoReturnObjectBuilderError>
pub fn build( &self, ) -> Result<GetInfoReturnObject, GetInfoReturnObjectBuilderError>
Trait Implementations§
Source§impl Clone for GetInfoReturnObjectBuilder
impl Clone for GetInfoReturnObjectBuilder
Source§fn clone(&self) -> GetInfoReturnObjectBuilder
fn clone(&self) -> GetInfoReturnObjectBuilder
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 GetInfoReturnObjectBuilder
impl RefUnwindSafe for GetInfoReturnObjectBuilder
impl Send for GetInfoReturnObjectBuilder
impl Sync for GetInfoReturnObjectBuilder
impl Unpin for GetInfoReturnObjectBuilder
impl UnsafeUnpin for GetInfoReturnObjectBuilder
impl UnwindSafe for GetInfoReturnObjectBuilder
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