pub struct HardwareInfo {
pub brand: String,
pub vendor: String,
pub family: u32,
pub model: u32,
pub stepping: u32,
pub support: SupportStatus,
pub topology: TopologyGraph,
pub fingerprint: Option<Fingerprint>,
pub validation: Option<ValidationReportDto>,
pub is_mock: bool,
pub environment: EnvironmentSnapshot,
}Expand description
Discovered hardware description.
Fields§
§brand: StringBrand string from CPUID leaf 0x80000002–4 when available.
vendor: StringVendor string (AuthenticAMD, mock tags, etc.).
family: u32CPUID family.
model: u32CPUID model.
stepping: u32CPUID stepping.
support: SupportStatusSupport classification.
topology: TopologyGraphTopology graph (empty if unsupported).
fingerprint: Option<Fingerprint>Machine fingerprint (present when supported).
validation: Option<ValidationReportDto>Knowledge-pack validation (when supported).
is_mock: boolTrue when this info came from MockHardware.
environment: EnvironmentSnapshotEnvironment snapshot at discovery time.
Trait Implementations§
Source§impl Clone for HardwareInfo
impl Clone for HardwareInfo
Source§fn clone(&self) -> HardwareInfo
fn clone(&self) -> HardwareInfo
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 HardwareInfo
impl Debug for HardwareInfo
Source§impl<'de> Deserialize<'de> for HardwareInfo
impl<'de> Deserialize<'de> for HardwareInfo
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 HardwareInfo
impl RefUnwindSafe for HardwareInfo
impl Send for HardwareInfo
impl Sync for HardwareInfo
impl Unpin for HardwareInfo
impl UnsafeUnpin for HardwareInfo
impl UnwindSafe for HardwareInfo
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