pub struct Stanza {
pub oem_stanza_type: Option<String>,
pub request: Option<Request>,
pub response: Option<Response>,
pub stanza_id: Option<String>,
pub stanza_type: Option<StanzaType>,
}
Expand description
A stanza contains properties that describe a request to be fulfilled within a manifest.
Fields§
§oem_stanza_type: Option<String>
The OEM-defined type of stanza.
request: Option<Request>
§response: Option<Response>
§stanza_id: Option<String>
The identifier of the stanza. This is a unique identifier specified by the client and is not used by the service.
stanza_type: Option<StanzaType>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Stanza
impl<'de> Deserialize<'de> for Stanza
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 Stanza
impl Metadata<'static> for Stanza
Source§const JSON_SCHEMA: &'static str = "Manifest.v1_1_0.json"
const JSON_SCHEMA: &'static str = "Manifest.v1_1_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.
Auto Trait Implementations§
impl Freeze for Stanza
impl RefUnwindSafe for Stanza
impl Send for Stanza
impl Sync for Stanza
impl Unpin for Stanza
impl UnwindSafe for Stanza
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