pub struct GetInfoReturn { /* private fields */ }Available on crate features
experimental and SystemInfo only.Expand description
Returns information about the system.
Implementations§
Source§impl GetInfoReturn
impl GetInfoReturn
pub fn builder() -> GetInfoReturnBuilder
Sourcepub fn model_name(&self) -> &str
pub fn model_name(&self) -> &str
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(&self) -> &str
pub fn model_version(&self) -> &str
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(&self) -> &str
pub fn command_line(&self) -> &str
The command line string used to launch the browser. Will be the empty string if not supported.
Trait Implementations§
Source§impl Clone for GetInfoReturn
impl Clone for GetInfoReturn
Source§fn clone(&self) -> GetInfoReturn
fn clone(&self) -> GetInfoReturn
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GetInfoReturn
impl Debug for GetInfoReturn
Source§impl<'de> Deserialize<'de> for GetInfoReturn
impl<'de> Deserialize<'de> for GetInfoReturn
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GetInfoReturn
impl RefUnwindSafe for GetInfoReturn
impl Send for GetInfoReturn
impl Sync for GetInfoReturn
impl Unpin for GetInfoReturn
impl UnsafeUnpin for GetInfoReturn
impl UnwindSafe for GetInfoReturn
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