pub struct GetInfoReturns {
pub gpu: GpuInfo,
pub model_name: String,
pub model_version: String,
pub command_line: String,
}Expand description
What SystemInfo.getInfo answers with.
Fields§
§gpu: GpuInfoInformation about the GPUs on the system.
model_name: 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.
model_version: 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.
command_line: 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§impl Debug for GetInfoReturns
impl Debug for GetInfoReturns
Source§impl Default for GetInfoReturns
impl Default for GetInfoReturns
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
Source§impl PartialEq for GetInfoReturns
impl PartialEq for GetInfoReturns
Source§impl Serialize for GetInfoReturns
impl Serialize for GetInfoReturns
impl StructuralPartialEq for GetInfoReturns
Auto Trait Implementations§
impl Forget for GetInfoReturns
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