Struct Manager

Source
pub struct Manager {
Show 51 fields pub odata_context: Option<Context>, pub odata_etag: Option<Etag>, pub odata_id: Id, pub odata_type: Type, pub actions: Option<Actions>, pub additional_firmware_versions: Option<AdditionalVersions>, pub auto_dst_enabled: Option<bool>, pub certificates: Option<IdRef>, pub command_shell: Option<CommandShell>, pub date_time: Option<String>, pub date_time_local_offset: Option<String>, pub dedicated_network_ports: Option<IdRef>, pub description: Option<Description>, pub ethernet_interfaces: Option<IdRef>, pub firmware_version: Option<String>, pub graphical_console: Option<GraphicalConsole>, pub host_interfaces: Option<IdRef>, pub id: Id, pub last_reset_time: Option<String>, pub links: Option<Links>, pub location: Option<Location>, pub location_indicator_active: Option<bool>, pub log_services: Option<IdRef>, pub manager_diagnostic_data: Option<IdRef>, pub manager_type: Option<ManagerType>, pub manufacturer: Option<String>, pub measurements: Option<Vec<MeasurementBlock>>, pub model: Option<String>, pub name: Name, pub network_protocol: Option<IdRef>, pub oem: Option<Oem>, pub part_number: Option<String>, pub power_state: Option<PowerState>, pub redundancy: Option<Vec<Redundancy>>, pub redundancy_odata_count: Option<Count>, pub remote_account_service: Option<IdRef>, pub remote_redfish_service_uri: Option<String>, pub security_policy: Option<IdRef>, pub serial_console: Option<SerialConsole>, pub serial_interfaces: Option<IdRef>, pub serial_number: Option<String>, pub service_entry_point_uuid: Option<UUID>, pub service_identification: Option<String>, pub shared_network_ports: Option<IdRef>, pub spare_part_number: Option<String>, pub status: Option<Status>, pub time_zone_name: Option<String>, pub usb_ports: Option<IdRef>, pub uuid: Option<UUID>, pub version: Option<String>, pub virtual_media: Option<IdRef>,
}
Expand description

In Redfish, a manager is a systems management entity that can implement or provide access to a Redfish service. Examples of managers are BMCs, enclosure managers, management controllers, and other subsystems that are assigned manageability functions. An implementation can have multiple managers, which might be directly accessible through a Redfish-defined interface.

Fields§

§odata_context: Option<Context>§odata_etag: Option<Etag>§odata_id: Id§odata_type: Type§actions: Option<Actions>§additional_firmware_versions: Option<AdditionalVersions>§auto_dst_enabled: Option<bool>

An indication of whether the manager is configured for automatic Daylight Saving Time (DST) adjustment.

§certificates: Option<IdRef>§command_shell: Option<CommandShell>§date_time: Option<String>

The current date and time with UTC offset of the manager.

§date_time_local_offset: Option<String>

The time offset from UTC that the DateTime property is in +HH:MM format.

§dedicated_network_ports: Option<IdRef>§description: Option<Description>§ethernet_interfaces: Option<IdRef>§firmware_version: Option<String>

The firmware version of this manager.

§graphical_console: Option<GraphicalConsole>§host_interfaces: Option<IdRef>§id: Id§last_reset_time: Option<String>

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

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

An indicator allowing an operator to physically locate this resource.

§log_services: Option<IdRef>§manager_diagnostic_data: Option<IdRef>§manager_type: Option<ManagerType>§manufacturer: Option<String>

The manufacturer of this manager.

§measurements: Option<Vec<MeasurementBlock>>

An array of DSP0274-defined measurement blocks.

§model: Option<String>

The model information of this manager, as defined by the manufacturer.

§name: Name§network_protocol: Option<IdRef>§oem: Option<Oem>§part_number: Option<String>

The part number of the manager.

§power_state: Option<PowerState>§redundancy: Option<Vec<Redundancy>>

The redundancy information for the managers of this system.

§redundancy_odata_count: Option<Count>§remote_account_service: Option<IdRef>§remote_redfish_service_uri: Option<String>

The URI of the Redfish service root for the remote manager that this resource represents.

§security_policy: Option<IdRef>§serial_console: Option<SerialConsole>§serial_interfaces: Option<IdRef>§serial_number: Option<String>

The serial number of the manager.

§service_entry_point_uuid: Option<UUID>§service_identification: Option<String>

A product instance identifier displayed in the Redfish service root.

§shared_network_ports: Option<IdRef>§spare_part_number: Option<String>

The spare part number of the manager.

§status: Option<Status>§time_zone_name: Option<String>

The time zone of the manager.

§usb_ports: Option<IdRef>§uuid: Option<UUID>§version: Option<String>

The hardware version of this manager.

§virtual_media: Option<IdRef>

Trait Implementations§

Source§

impl Clone for Manager

Source§

fn clone(&self) -> Manager

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 Manager

Source§

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

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

impl Default for Manager

Source§

fn default() -> Self

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

impl<'de> Deserialize<'de> for Manager

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 Manager

Source§

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

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