pub struct ActionSpecification {
pub service_id: u8,
pub class_id: u16,
pub logical_name: ObisCode,
pub index: i8,
pub parameter: Choice,
}Expand description
action_specification — structure { service_id, class_id, logical_name, index, parameter }
Used in Script Table (attr 2).
Fields§
§service_id: u8Service ID (method number).
class_id: u16Target class identifier.
logical_name: ObisCodeOBIS logical name of the target object.
index: i8Attribute index (0 for methods).
parameter: ChoiceParameter value for the service.
Trait Implementations§
Source§impl Clone for ActionSpecification
impl Clone for ActionSpecification
Source§fn clone(&self) -> ActionSpecification
fn clone(&self) -> ActionSpecification
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 ActionSpecification
impl Debug for ActionSpecification
Source§impl<'de> Deserialize<'de> for ActionSpecification
impl<'de> Deserialize<'de> for ActionSpecification
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 From<ActionSpecification> for CosemDataType
impl From<ActionSpecification> for CosemDataType
Source§fn from(aspec: ActionSpecification) -> Self
fn from(aspec: ActionSpecification) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ActionSpecification
impl PartialEq for ActionSpecification
Source§impl Serialize for ActionSpecification
impl Serialize for ActionSpecification
impl StructuralPartialEq for ActionSpecification
Source§impl TryFrom<&CosemDataType> for ActionSpecification
impl TryFrom<&CosemDataType> for ActionSpecification
Auto Trait Implementations§
impl Freeze for ActionSpecification
impl RefUnwindSafe for ActionSpecification
impl Send for ActionSpecification
impl Sync for ActionSpecification
impl Unpin for ActionSpecification
impl UnsafeUnpin for ActionSpecification
impl UnwindSafe for ActionSpecification
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