Struct redfish_codegen::models::outlet::v1_4_1::PowerControl
source · pub struct PowerControl {
pub target: Option<String>,
pub title: Option<String>,
}
Expand description
This action turns the outlet on or off.
Fields§
§target: Option<String>
Link to invoke action
title: Option<String>
Friendly action name
Trait Implementations§
source§impl Clone for PowerControl
impl Clone for PowerControl
source§fn clone(&self) -> PowerControl
fn clone(&self) -> PowerControl
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PowerControl
impl Debug for PowerControl
source§impl Default for PowerControl
impl Default for PowerControl
source§fn default() -> PowerControl
fn default() -> PowerControl
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PowerControl
impl<'de> Deserialize<'de> for PowerControl
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