pub struct ActionSet {
pub action_up: ActionItem,
pub action_down: ActionItem,
}Expand description
action_set — structure { action_up, action_down }
Used in Register Monitor (attr 4).
Fields§
§action_up: ActionItemAction to execute on threshold increase.
action_down: ActionItemAction to execute on threshold decrease.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ActionSet
impl<'de> Deserialize<'de> for ActionSet
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
impl Eq for ActionSet
Source§impl From<ActionSet> for CosemDataType
impl From<ActionSet> for CosemDataType
impl StructuralPartialEq for ActionSet
Auto Trait Implementations§
impl Freeze for ActionSet
impl RefUnwindSafe for ActionSet
impl Send for ActionSet
impl Sync for ActionSet
impl Unpin for ActionSet
impl UnsafeUnpin for ActionSet
impl UnwindSafe for ActionSet
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