pub struct Script {
pub service_id: u8,
pub class_id: u8,
pub obis: Vec<u8>,
pub index: u8,
pub range_descriptor: Option<CosemDataType>,
pub entry_descriptor: Option<CosemDataType>,
pub value: Option<CosemDataType>,
}Expand description
One meter object access within a task (§10.7, script).
Fields§
§service_id: u8Service to invoke (see service_id).
class_id: u8Class id of the target object.
obis: Vec<u8>OBIS of the target object.
index: u8Attribute or method index.
range_descriptor: Option<CosemDataType>Selective-access range descriptor, or None.
entry_descriptor: Option<CosemDataType>Selective-access entry descriptor, or None.
value: Option<CosemDataType>Value for SET/ACTION, or None.
Implementations§
Source§impl Script
impl Script
fn to_structure(&self) -> CosemDataType
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Script
impl RefUnwindSafe for Script
impl Send for Script
impl Sync for Script
impl Unpin for Script
impl UnsafeUnpin for Script
impl UnwindSafe for Script
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