pub struct SvSwitch {
pub id: String,
pub switch: Option<MridRef>,
pub open: Option<bool>,
}Expand description
State variable for switch.
Fields§
§id: String§switch: Option<MridRef>The switch associated with the switch state.
open: Option<bool>The attribute tells if the computed state of the switch is considered open.
Implementations§
Trait Implementations§
Source§impl CimElement for SvSwitch
impl CimElement for SvSwitch
Source§impl<'de> Deserialize<'de> for SvSwitch
impl<'de> Deserialize<'de> for SvSwitch
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
Auto Trait Implementations§
impl Freeze for SvSwitch
impl RefUnwindSafe for SvSwitch
impl Send for SvSwitch
impl Sync for SvSwitch
impl Unpin for SvSwitch
impl UnsafeUnpin for SvSwitch
impl UnwindSafe for SvSwitch
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