Struct ComputerSystem

Source
pub struct ComputerSystem {
Show 68 fields pub odata_context: Option<Context>, pub odata_etag: Option<Etag>, pub odata_id: Id, pub odata_type: Type, pub actions: Option<Actions>, pub asset_tag: Option<String>, pub bios: Option<IdRef>, pub bios_version: Option<String>, pub boot: Option<Boot>, pub boot_progress: Option<BootProgress>, pub certificates: Option<IdRef>, pub composition: Option<Composition>, pub description: Option<Description>, pub ethernet_interfaces: Option<IdRef>, pub fabric_adapters: Option<IdRef>, pub graphical_console: Option<HostGraphicalConsole>, pub graphics_controllers: Option<IdRef>, pub host_name: Option<String>, pub host_watchdog_timer: Option<WatchdogTimer>, pub hosted_services: Option<HostedServices>, pub hosting_roles: Option<Vec<HostingRole>>, pub id: Id, pub idle_power_saver: Option<IdlePowerSaver>, pub indicator_led: Option<IndicatorLED>, pub key_management: Option<KeyManagement>, pub last_reset_time: Option<String>, pub links: Option<Links>, pub location_indicator_active: Option<bool>, pub log_services: Option<IdRef>, pub manufacturer: Option<String>, pub manufacturing_mode: Option<bool>, pub measurements: Option<Vec<MeasurementBlock>>, pub memory: Option<IdRef>, pub memory_domains: Option<IdRef>, pub memory_summary: Option<MemorySummary>, pub model: Option<String>, pub name: Name, pub network_interfaces: Option<IdRef>, pub oem: Option<Oem>, pub pcie_devices: Option<Vec<IdRef>>, pub pcie_devices_odata_count: Option<Count>, pub pcie_functions: Option<Vec<IdRef>>, pub pcie_functions_odata_count: Option<Count>, pub part_number: Option<String>, pub power_cycle_delay_seconds: Option<f64>, pub power_mode: Option<PowerMode>, pub power_off_delay_seconds: Option<f64>, pub power_on_delay_seconds: Option<f64>, pub power_restore_policy: Option<PowerRestorePolicyTypes>, pub power_state: Option<PowerState>, pub processor_summary: Option<ProcessorSummary>, pub processors: Option<IdRef>, pub redundancy: Option<Vec<Redundancy>>, pub redundancy_odata_count: Option<Count>, pub sku: Option<String>, pub secure_boot: Option<IdRef>, pub serial_console: Option<HostSerialConsole>, pub serial_number: Option<String>, pub simple_storage: Option<IdRef>, pub status: Option<Status>, pub storage: Option<IdRef>, pub sub_model: Option<String>, pub system_type: Option<SystemType>, pub trusted_modules: Option<Vec<TrustedModules>>, pub usb_controllers: Option<IdRef>, pub uuid: Option<UUID>, pub virtual_media: Option<IdRef>, pub virtual_media_config: Option<VirtualMediaConfig>,
}
Expand description

The ComputerSystem schema represents a computer or system instance and the software-visible resources, or items within the data plane, such as memory, CPU, and other devices that it can access. Details of those resources or subsystems are also linked through this resource.

Fields§

§odata_context: Option<Context>§odata_etag: Option<Etag>§odata_id: Id§odata_type: Type§actions: Option<Actions>§asset_tag: Option<String>

The user-definable tag that can track this computer system for inventory or other client purposes.

§bios: Option<IdRef>§bios_version: Option<String>

The version of the system BIOS or primary system firmware.

§boot: Option<Boot>§boot_progress: Option<BootProgress>§certificates: Option<IdRef>§composition: Option<Composition>§description: Option<Description>§ethernet_interfaces: Option<IdRef>§fabric_adapters: Option<IdRef>§graphical_console: Option<HostGraphicalConsole>§graphics_controllers: Option<IdRef>§host_name: Option<String>

The DNS host name, without any domain information.

§host_watchdog_timer: Option<WatchdogTimer>§hosted_services: Option<HostedServices>§hosting_roles: Option<Vec<HostingRole>>

The hosting roles that this computer system supports.

§id: Id§idle_power_saver: Option<IdlePowerSaver>§indicator_led: Option<IndicatorLED>§key_management: Option<KeyManagement>§last_reset_time: Option<String>

The date and time when the system was last reset or rebooted.

§links: Option<Links>§location_indicator_active: Option<bool>

An indicator allowing an operator to physically locate this resource.

§log_services: Option<IdRef>§manufacturer: Option<String>

The manufacturer or OEM of this system.

§manufacturing_mode: Option<bool>

An indication of whether the system is in manufacturing mode. Manufacturing mode is a special boot mode, not normally available to end users, that modifies features and settings for use while the system is being manufactured and tested.

§measurements: Option<Vec<MeasurementBlock>>

An array of DSP0274-defined measurement blocks.

§memory: Option<IdRef>§memory_domains: Option<IdRef>§memory_summary: Option<MemorySummary>§model: Option<String>

The product name for this system, without the manufacturer name.

§name: Name§network_interfaces: Option<IdRef>§oem: Option<Oem>§pcie_devices: Option<Vec<IdRef>>

The link to a collection of PCIe devices that this computer system uses.

§pcie_devices_odata_count: Option<Count>§pcie_functions: Option<Vec<IdRef>>

The link to a collection of PCIe functions that this computer system uses.

§pcie_functions_odata_count: Option<Count>§part_number: Option<String>

The part number for this system.

§power_cycle_delay_seconds: Option<f64>

The number of seconds to delay power on after a Reset action requesting PowerCycle. Zero seconds indicates no delay.

§power_mode: Option<PowerMode>§power_off_delay_seconds: Option<f64>

The number of seconds to delay power off during a reset. Zero seconds indicates no delay to power off.

§power_on_delay_seconds: Option<f64>

The number of seconds to delay power on after a power cycle or during a reset. Zero seconds indicates no delay to power up.

§power_restore_policy: Option<PowerRestorePolicyTypes>§power_state: Option<PowerState>§processor_summary: Option<ProcessorSummary>§processors: Option<IdRef>§redundancy: Option<Vec<Redundancy>>

The link to a collection of redundancy entities. Each entity specifies a kind and level of redundancy and a collection, or redundancy set, of other computer systems that provide the specified redundancy to this computer system.

§redundancy_odata_count: Option<Count>§sku: Option<String>

The manufacturer SKU for this system.

§secure_boot: Option<IdRef>§serial_console: Option<HostSerialConsole>§serial_number: Option<String>

The serial number for this system.

§simple_storage: Option<IdRef>§status: Option<Status>§storage: Option<IdRef>§sub_model: Option<String>

The sub-model for this system.

§system_type: Option<SystemType>§trusted_modules: Option<Vec<TrustedModules>>

An array of trusted modules in the system.

§usb_controllers: Option<IdRef>§uuid: Option<UUID>§virtual_media: Option<IdRef>§virtual_media_config: Option<VirtualMediaConfig>

Trait Implementations§

Source§

impl Clone for ComputerSystem

Source§

fn clone(&self) -> ComputerSystem

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 ComputerSystem

Source§

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

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

impl Default for ComputerSystem

Source§

fn default() -> Self

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

impl<'de> Deserialize<'de> for ComputerSystem

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 ComputerSystem

Source§

const JSON_SCHEMA: &'static str = "ComputerSystem.v1_20_1.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 ComputerSystem

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>,