Struct os_type::OSInformation
[−]
[src]
pub struct OSInformation { pub os_type: OSType, pub version: String, }
Holds information about Operating System type and its version
If the version could not be fetched it defaults to 0.0.0
Fields
os_type: OSType
version: String
Trait Implementations
impl Debug for OSInformation
[src]
impl Clone for OSInformation
[src]
fn clone(&self) -> OSInformation
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for OSInformation
[src]
fn eq(&self, __arg_0: &OSInformation) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &OSInformation) -> bool
This method tests for !=
.