pub struct Processor {
Show 63 fields pub odata_context: Option<Context>, pub odata_etag: Option<Etag>, pub odata_id: Id, pub odata_type: MustBeStr<(char<{ _ }>, (P, r, o), (c, e, s, s, o, r), (char<{ _ }>, v, char<{ _ }>, char<{ _ }>, char<{ _ }>, char<{ _ }>), (char<{ _ }>, char<{ _ }>, char<{ _ }>, P, r, o), (c, e, s, s, o, r))>, pub acceleration_functions: Option<IdRef>, pub actions: Option<Actions>, pub additional_firmware_versions: Option<AdditionalVersions>, pub applied_operating_config: Option<IdRef>, pub assembly: Option<IdRef>, pub base_speed_m_hz: Option<i64>, pub base_speed_priority_state: Option<BaseSpeedPriorityState>, pub certificates: Option<IdRef>, pub description: Option<Description>, pub enabled: Option<bool>, pub environment_metrics: Option<IdRef>, pub fpga: Option<FPGA>, pub family: Option<String>, pub firmware_version: Option<String>, pub high_speed_core_i_ds: Option<Vec<i64>>, pub id: Id, pub instruction_set: Option<InstructionSet>, pub links: Option<Links>, pub location: Option<Location>, pub location_indicator_active: Option<bool>, pub manufacturer: Option<String>, pub max_speed_m_hz: Option<i64>, pub max_tdp_watts: Option<i64>, pub measurements: Option<Vec<MeasurementBlock>>, pub memory_summary: Option<MemorySummary>, pub metrics: Option<IdRef>, pub min_speed_m_hz: Option<i64>, pub model: Option<String>, pub name: Name, pub oem: Option<Oem>, pub operating_configs: Option<IdRef>, pub operating_speed_m_hz: Option<i64>, pub operating_speed_range_m_hz: Option<ControlRangeExcerpt>, pub part_number: Option<String>, pub ports: Option<IdRef>, pub power_state: Option<PowerState>, pub processor_architecture: Option<ProcessorArchitecture>, pub processor_id: Option<ProcessorId>, pub processor_index: Option<i64>, pub processor_memory: Option<Vec<ProcessorMemory>>, pub processor_type: Option<ProcessorType>, pub replaceable: Option<bool>, pub serial_number: Option<String>, pub socket: Option<String>, pub spare_part_number: Option<String>, pub speed_limit_m_hz: Option<i64>, pub speed_locked: Option<bool>, pub status: Option<Status>, pub sub_processors: Option<IdRef>, pub system_interface: Option<ProcessorInterface>, pub tdp_watts: Option<i64>, pub throttle_causes: Option<Vec<ThrottleCause>>, pub throttled: Option<bool>, pub total_cores: Option<i64>, pub total_enabled_cores: Option<i64>, pub total_threads: Option<i64>, pub turbo_state: Option<TurboState>, pub uuid: Option<UUID>, pub version: Option<String>,
}
Expand description

The Processor schema describes the information about a single processor that a system contains. A processor includes both performance characteristics, clock speed, architecture, core count, and so on, and compatibility, such as the CPU ID instruction results.

Fields§

§odata_context: Option<Context>§odata_etag: Option<Etag>§odata_id: Id§odata_type: MustBeStr<(char<{ _ }>, (P, r, o), (c, e, s, s, o, r), (char<{ _ }>, v, char<{ _ }>, char<{ _ }>, char<{ _ }>, char<{ _ }>), (char<{ _ }>, char<{ _ }>, char<{ _ }>, P, r, o), (c, e, s, s, o, r))>§acceleration_functions: Option<IdRef>§actions: Option<Actions>§additional_firmware_versions: Option<AdditionalVersions>§applied_operating_config: Option<IdRef>§assembly: Option<IdRef>§base_speed_m_hz: Option<i64>

The base (nominal) clock speed of the processor in MHz.

§base_speed_priority_state: Option<BaseSpeedPriorityState>§certificates: Option<IdRef>§description: Option<Description>§enabled: Option<bool>

An indication of whether this processor is enabled.

§environment_metrics: Option<IdRef>§fpga: Option<FPGA>§family: Option<String>

The processor family.

§firmware_version: Option<String>

The firmware version of the processor.

§high_speed_core_i_ds: Option<Vec<i64>>

The list of core identifiers corresponding to the cores that have been configured with the higher clock speed from the operating configuration applied to this processor.

§id: Id§instruction_set: Option<InstructionSet>§links: Option<Links>§location: Option<Location>§location_indicator_active: Option<bool>

An indicator allowing an operator to physically locate this resource.

§manufacturer: Option<String>

The processor manufacturer.

§max_speed_m_hz: Option<i64>

The maximum clock speed of the processor.

§max_tdp_watts: Option<i64>

The maximum Thermal Design Power (TDP) in watts.

§measurements: Option<Vec<MeasurementBlock>>

An array of DSP0274-defined measurement blocks.

§memory_summary: Option<MemorySummary>§metrics: Option<IdRef>§min_speed_m_hz: Option<i64>

The minimum clock speed of the processor in MHz.

§model: Option<String>

The product model number of this device.

§name: Name§oem: Option<Oem>§operating_configs: Option<IdRef>§operating_speed_m_hz: Option<i64>

Operating speed of the processor in MHz.

§operating_speed_range_m_hz: Option<ControlRangeExcerpt>§part_number: Option<String>

The part number of the processor.

§ports: Option<IdRef>§power_state: Option<PowerState>§processor_architecture: Option<ProcessorArchitecture>§processor_id: Option<ProcessorId>§processor_index: Option<i64>

The logical index of this processor within the system.

§processor_memory: Option<Vec<ProcessorMemory>>

The memory directly attached or integrated within this processor.

§processor_type: Option<ProcessorType>§replaceable: Option<bool>

An indication of whether this component can be independently replaced as allowed by the vendor’s replacement policy.

§serial_number: Option<String>

The serial number of the processor.

§socket: Option<String>

The socket or location of the processor.

§spare_part_number: Option<String>

The spare part number of the processor.

§speed_limit_m_hz: Option<i64>

The clock limit of the processor in MHz.

§speed_locked: Option<bool>

Indicates whether the clock speed of the processor is fixed at the value specified in the SpeedLimitMHz property.

§status: Option<Status>§sub_processors: Option<IdRef>§system_interface: Option<ProcessorInterface>§tdp_watts: Option<i64>

The nominal Thermal Design Power (TDP) in watts.

§throttle_causes: Option<Vec<ThrottleCause>>

The causes of the processor being throttled.

§throttled: Option<bool>

An indication of whether the processor is throttled.

§total_cores: Option<i64>

The total number of cores that this processor contains.

§total_enabled_cores: Option<i64>

The total number of enabled cores that this processor contains.

§total_threads: Option<i64>

The total number of execution threads that this processor supports.

§turbo_state: Option<TurboState>§uuid: Option<UUID>§version: Option<String>

The hardware version of the processor.

Trait Implementations§

source§

impl Clone for Processor

source§

fn clone(&self) -> Processor

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Processor

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Processor

source§

fn default() -> Processor

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for Processor

source§

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 Serialize for Processor

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,