pub struct ActionItem {
pub script_logical_name: ObisCode,
pub script_selector: u16,
}Expand description
action_item — structure { script_logical_name, script_selector }
Used in Register Monitor, Limiter, and other ICs.
Fields§
§script_logical_name: ObisCodeLogical name of the Script Table object.
script_selector: u16Script identifier to execute.
Trait Implementations§
Source§impl Clone for ActionItem
impl Clone for ActionItem
Source§fn clone(&self) -> ActionItem
fn clone(&self) -> ActionItem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ActionItem
impl Debug for ActionItem
Source§impl<'de> Deserialize<'de> for ActionItem
impl<'de> Deserialize<'de> for ActionItem
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 ActionItem
Source§impl From<ActionItem> for CosemDataType
impl From<ActionItem> for CosemDataType
Source§fn from(ai: ActionItem) -> Self
fn from(ai: ActionItem) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ActionItem
impl PartialEq for ActionItem
Source§impl Serialize for ActionItem
impl Serialize for ActionItem
impl StructuralPartialEq for ActionItem
Source§impl TryFrom<&CosemDataType> for ActionItem
impl TryFrom<&CosemDataType> for ActionItem
Auto Trait Implementations§
impl Freeze for ActionItem
impl RefUnwindSafe for ActionItem
impl Send for ActionItem
impl Sync for ActionItem
impl Unpin for ActionItem
impl UnsafeUnpin for ActionItem
impl UnwindSafe for ActionItem
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