pub struct PowerOutletStatus {
pub value: Option<Value>,
pub label: Option<Label>,
}Fields§
§value: Option<Value>enabled- Enabled *disabled- Disabled *faulty- Faulty
label: Option<Label>Implementations§
Source§impl PowerOutletStatus
impl PowerOutletStatus
pub fn new() -> PowerOutletStatus
Trait Implementations§
Source§impl Clone for PowerOutletStatus
impl Clone for PowerOutletStatus
Source§fn clone(&self) -> PowerOutletStatus
fn clone(&self) -> PowerOutletStatus
Returns a duplicate 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 PowerOutletStatus
impl Debug for PowerOutletStatus
Source§impl Default for PowerOutletStatus
impl Default for PowerOutletStatus
Source§fn default() -> PowerOutletStatus
fn default() -> PowerOutletStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PowerOutletStatus
impl<'de> Deserialize<'de> for PowerOutletStatus
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 PartialEq for PowerOutletStatus
impl PartialEq for PowerOutletStatus
Source§impl Serialize for PowerOutletStatus
impl Serialize for PowerOutletStatus
impl StructuralPartialEq for PowerOutletStatus
Auto Trait Implementations§
impl Freeze for PowerOutletStatus
impl RefUnwindSafe for PowerOutletStatus
impl Send for PowerOutletStatus
impl Sync for PowerOutletStatus
impl Unpin for PowerOutletStatus
impl UnwindSafe for PowerOutletStatus
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