Struct Processor

Source
pub struct Processor {
Show 63 fields pub odata_context: Option<Context>, pub odata_etag: Option<Etag>, pub odata_id: Id, pub odata_type: Type, 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. It also describes the location, such as a slot, socket, or bay, where a unit can be installed, by populating a resource instance with an absent state if a unit is not present.

Fields§

§odata_context: Option<Context>§odata_etag: Option<Etag>§odata_id: Id§odata_type: Type§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. Examples include internal cache, dedicated memory for the processor, and system memory.

§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 duplicate of the value. Read more
1.0.0 · Source§

const 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() -> Self

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 Metadata<'static> for Processor

Source§

const JSON_SCHEMA: &'static str = "Processor.v1_18_0.json"

Name of the json-schema file that describes the entity that implements this trait. Should be only the file name, so that it can be resolved relative to the URL of the redfish service, or the public Redfish schema index.
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 T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

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

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 T
where T: Clone,

Source§

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 T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.
Source§

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

Source§

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

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.
Source§

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