pub struct GetInfoReturns {
pub gpu: GPUInfo,
pub modelName: String,
pub modelVersion: String,
pub commandLine: String,
}Expand description
Returns information about the system.
Fields§
§gpu: GPUInfoInformation about the GPUs on the system.
modelName: StringA 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.
modelVersion: StringA 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.
commandLine: StringThe command line string used to launch the browser. Will be the empty string if not supported.
Trait Implementations§
Source§impl Clone for GetInfoReturns
impl Clone for GetInfoReturns
Source§fn clone(&self) -> GetInfoReturns
fn clone(&self) -> GetInfoReturns
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 GetInfoReturns
impl Debug for GetInfoReturns
Source§impl Default for GetInfoReturns
impl Default for GetInfoReturns
Source§fn default() -> GetInfoReturns
fn default() -> GetInfoReturns
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetInfoReturns
impl<'de> Deserialize<'de> for GetInfoReturns
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 GetInfoReturns
impl RefUnwindSafe for GetInfoReturns
impl Send for GetInfoReturns
impl Sync for GetInfoReturns
impl Unpin for GetInfoReturns
impl UnsafeUnpin for GetInfoReturns
impl UnwindSafe for GetInfoReturns
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