pub struct GetInfoReturnBuilder { /* private fields */ }Available on crate features
experimental and SystemInfo only.Implementations§
Source§impl GetInfoReturnBuilder
impl GetInfoReturnBuilder
Sourcepub fn model_name(&mut self, v: String) -> &mut Self
pub fn model_name(&mut self, v: 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, v: String) -> &mut Self
pub fn model_version(&mut self, v: 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, v: String) -> &mut Self
pub fn command_line(&mut self, v: String) -> &mut Self
The command line string used to launch the browser. Will be the empty string if not supported.
pub fn build(&mut self) -> Result<GetInfoReturn, &'static str>
Trait Implementations§
Source§impl Clone for GetInfoReturnBuilder
impl Clone for GetInfoReturnBuilder
Source§fn clone(&self) -> GetInfoReturnBuilder
fn clone(&self) -> GetInfoReturnBuilder
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 GetInfoReturnBuilder
impl Debug for GetInfoReturnBuilder
Auto Trait Implementations§
impl Freeze for GetInfoReturnBuilder
impl RefUnwindSafe for GetInfoReturnBuilder
impl Send for GetInfoReturnBuilder
impl Sync for GetInfoReturnBuilder
impl Unpin for GetInfoReturnBuilder
impl UnwindSafe for GetInfoReturnBuilder
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