pub struct ServiceDocument {
pub odata_context: Context,
pub value: Vec<Service>,
}
Expand description
The OData service document from a Redfish service.
Fields§
§odata_context: Context
§value: Vec<Service>
The list of services provided by the Redfish service.
Trait Implementations§
Source§impl Clone for ServiceDocument
impl Clone for ServiceDocument
Source§fn clone(&self) -> ServiceDocument
fn clone(&self) -> ServiceDocument
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ServiceDocument
impl Debug for ServiceDocument
Source§impl Default for ServiceDocument
impl Default for ServiceDocument
Source§impl<'de> Deserialize<'de> for ServiceDocument
impl<'de> Deserialize<'de> for ServiceDocument
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
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 ServiceDocument
impl Metadata<'static> for ServiceDocument
Source§const JSON_SCHEMA: &'static str = "odata.v4_0_5.json"
const JSON_SCHEMA: &'static str = "odata.v4_0_5.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.
Auto Trait Implementations§
impl Freeze for ServiceDocument
impl RefUnwindSafe for ServiceDocument
impl Send for ServiceDocument
impl Sync for ServiceDocument
impl Unpin for ServiceDocument
impl UnwindSafe for ServiceDocument
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more