pub struct ServiceRoot {
Show 44 fields pub odata_context: Option<Context>, pub odata_etag: Option<Etag>, pub odata_id: Id, pub odata_type: MustBeStr<((char<{ _ }>, S), (e, r, v, i, c, e), (R, o, o, t, char<{ _ }>, v), (char<{ _ }>, char<{ _ }>, char<{ _ }>, char<{ _ }>, char<{ _ }>, char<{ _ }>), (char<{ _ }>, S, e, r, v, i), (c, e, R, o, o, t))>, 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 nv_me_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 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: MustBeStr<((char<{ _ }>, S), (e, r, v, i, c, e), (R, o, o, t, char<{ _ }>, v), (char<{ _ }>, char<{ _ }>, char<{ _ }>, char<{ _ }>, char<{ _ }>, char<{ _ }>), (char<{ _ }>, S, e, r, v, i), (c, e, R, o, o, t))>§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>§nv_me_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>§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 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 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() -> ServiceRoot

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