pub struct ExchangeTask {
pub task_id: u32,
pub meter_ids: Vec<Vec<u8>>,
pub scripts: Vec<Script>,
pub execution_type: u8,
pub execution_times: Vec<ExecutionTime>,
pub priority: u16,
}Expand description
One data-exchange task (§10.7, exchange).
Fields§
§task_id: u32Task identifier.
meter_ids: Vec<Vec<u8>>Meters the task applies to (empty = the task is disabled).
scripts: Vec<Script>The object accesses to run.
execution_type: u8Execution type (as single action schedule type, IC 22).
execution_times: Vec<ExecutionTime>Scheduled execution times.
priority: u16Execution priority (ascending order).
Implementations§
Source§impl ExchangeTask
impl ExchangeTask
fn to_structure(&self) -> CosemDataType
Trait Implementations§
Source§impl Clone for ExchangeTask
impl Clone for ExchangeTask
Source§fn clone(&self) -> ExchangeTask
fn clone(&self) -> ExchangeTask
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 ExchangeTask
impl Debug for ExchangeTask
Source§impl Default for ExchangeTask
impl Default for ExchangeTask
Source§fn default() -> ExchangeTask
fn default() -> ExchangeTask
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ExchangeTask
impl RefUnwindSafe for ExchangeTask
impl Send for ExchangeTask
impl Sync for ExchangeTask
impl Unpin for ExchangeTask
impl UnsafeUnpin for ExchangeTask
impl UnwindSafe for ExchangeTask
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