Struct ServiceRoot

Source
pub struct ServiceRoot {
Show 45 fields pub odata_context: Option<Context>, pub odata_etag: Option<Etag>, pub odata_id: Id, pub odata_type: Type, pub account_service: Option<IdRef>, pub aggregation_service: Option<IdRef>, pub cables: Option<IdRef>, pub certificate_service: Option<IdRef>, pub chassis: Option<IdRef>, pub component_integrity: Option<IdRef>, pub composition_service: Option<IdRef>, pub description: Option<Description>, pub event_service: Option<IdRef>, pub fabrics: Option<IdRef>, pub facilities: Option<IdRef>, pub id: Id, pub job_service: Option<IdRef>, pub json_schemas: Option<IdRef>, pub key_service: Option<IdRef>, pub license_service: Option<IdRef>, pub links: Links, pub managers: Option<IdRef>, pub nvme_domains: Option<IdRef>, pub name: Name, pub oem: Option<Oem>, pub power_equipment: Option<IdRef>, pub product: Option<String>, pub protocol_features_supported: Option<ProtocolFeaturesSupported>, pub redfish_version: Option<String>, pub registered_clients: Option<IdRef>, pub registries: Option<IdRef>, pub resource_blocks: Option<IdRef>, pub service_conditions: Option<IdRef>, pub service_identification: Option<String>, pub session_service: Option<IdRef>, pub storage: Option<IdRef>, pub storage_services: Option<IdRef>, pub storage_systems: Option<IdRef>, pub systems: Option<IdRef>, pub tasks: Option<IdRef>, pub telemetry_service: Option<IdRef>, pub thermal_equipment: Option<IdRef>, pub uuid: Option<String>, pub update_service: Option<IdRef>, pub vendor: Option<String>,
}
Expand description

The ServiceRoot schema describes the root of the Redfish service, located at the ‘/redfish/v1’ URI. All other resources accessible through the Redfish interface on this device are linked directly or indirectly from the service root.

Fields§

§odata_context: Option<Context>§odata_etag: Option<Etag>§odata_id: Id§odata_type: Type§account_service: Option<IdRef>§aggregation_service: Option<IdRef>§cables: Option<IdRef>§certificate_service: Option<IdRef>§chassis: Option<IdRef>§component_integrity: Option<IdRef>§composition_service: Option<IdRef>§description: Option<Description>§event_service: Option<IdRef>§fabrics: Option<IdRef>§facilities: Option<IdRef>§id: Id§job_service: Option<IdRef>§json_schemas: Option<IdRef>§key_service: Option<IdRef>§license_service: Option<IdRef>§links: Links§managers: Option<IdRef>§nvme_domains: Option<IdRef>§name: Name§oem: Option<Oem>§power_equipment: Option<IdRef>§product: Option<String>

The product associated with this Redfish service.

§protocol_features_supported: Option<ProtocolFeaturesSupported>§redfish_version: Option<String>

The version of the Redfish service.

§registered_clients: Option<IdRef>§registries: Option<IdRef>§resource_blocks: Option<IdRef>§service_conditions: Option<IdRef>§service_identification: Option<String>

The vendor or user-provided product and service identifier.

§session_service: Option<IdRef>§storage: Option<IdRef>§storage_services: Option<IdRef>§storage_systems: Option<IdRef>§systems: Option<IdRef>§tasks: Option<IdRef>§telemetry_service: Option<IdRef>§thermal_equipment: Option<IdRef>§uuid: Option<String>

Unique identifier for a service instance. When SSDP is used, this value contains the same UUID returned in an HTTP 200 OK response from an SSDP M-SEARCH request during discovery.

§update_service: Option<IdRef>§vendor: Option<String>

The vendor or manufacturer associated with this Redfish service.

Trait Implementations§

Source§

impl Clone for ServiceRoot

Source§

fn clone(&self) -> ServiceRoot

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 ServiceRoot

Source§

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

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

impl Default for ServiceRoot

Source§

fn default() -> Self

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

impl<'de> Deserialize<'de> for ServiceRoot

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 ServiceRoot

Source§

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

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