pub struct CollectDiagnosticDataRequestBody {
pub diagnostic_data_type: LogDiagnosticDataTypes,
pub oem_diagnostic_data_type: Option<String>,
}
Expand description
The action to collect the diagnostic data for the given type. When the diagnostic data is collected, a new log entry will be created and the additional data referenced by the new log entry will contain the diagnostic data.
Fields§
§diagnostic_data_type: LogDiagnosticDataTypes
§oem_diagnostic_data_type: Option<String>
The OEM-defined type of diagnostic data to collect.
Trait Implementations§
Source§impl Clone for CollectDiagnosticDataRequestBody
impl Clone for CollectDiagnosticDataRequestBody
Source§fn clone(&self) -> CollectDiagnosticDataRequestBody
fn clone(&self) -> CollectDiagnosticDataRequestBody
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<'de> Deserialize<'de> for CollectDiagnosticDataRequestBody
impl<'de> Deserialize<'de> for CollectDiagnosticDataRequestBody
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 CollectDiagnosticDataRequestBody
impl Metadata<'static> for CollectDiagnosticDataRequestBody
Source§const JSON_SCHEMA: &'static str = "LogService.v1_4_0.json"
const JSON_SCHEMA: &'static str = "LogService.v1_4_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 CollectDiagnosticDataRequestBody
impl RefUnwindSafe for CollectDiagnosticDataRequestBody
impl Send for CollectDiagnosticDataRequestBody
impl Sync for CollectDiagnosticDataRequestBody
impl Unpin for CollectDiagnosticDataRequestBody
impl UnwindSafe for CollectDiagnosticDataRequestBody
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