Enum machineid_rs::HWIDComponent
source · pub enum HWIDComponent {
SystemID,
CPUCores,
OSName,
Username,
MachineName,
MacAddress,
CPUID,
FileToken(&'static str),
DriveSerial,
}Expand description
The components that can be used to build the HWID.
Variants§
SystemID
System UUID
CPUCores
Number of CPU Cores
OSName
Name of the OS
Username
Current Username
MachineName
Host machine name
MacAddress
Mac Address
CPUID
CPU Vendor ID
FileToken(&'static str)
The contents of a file
DriveSerial
UUID of the root disk
Trait Implementations§
source§impl Hash for HWIDComponent
impl Hash for HWIDComponent
source§impl PartialEq<HWIDComponent> for HWIDComponent
impl PartialEq<HWIDComponent> for HWIDComponent
source§fn eq(&self, other: &HWIDComponent) -> bool
fn eq(&self, other: &HWIDComponent) -> bool
This method tests for
self and other values to be equal, and is used
by ==.