Struct rtlola_interpreter::monitor::TotalIncremental
source · pub struct TotalIncremental {
pub inputs: Vec<(InputReference, Value)>,
pub outputs: Vec<(OutputReference, Vec<Change>)>,
pub trigger: Vec<(OutputReference, String)>,
}Expand description
Represents the changes of the monitor state divided into inputs, outputs and trigger. Changes of output streams are represented by a set of Changes. A change of an input is represented by its new Value. A change of a trigger is represented by its formatted message.
Note: Only streams that actually changed are included in the collections.
Fields§
§inputs: Vec<(InputReference, Value)>The set of changed inputs.
outputs: Vec<(OutputReference, Vec<Change>)>The set of changed outputs.
trigger: Vec<(OutputReference, String)>The set of changed triggers. I.e. all triggers that were activated.
Trait Implementations§
source§impl Clone for TotalIncremental
impl Clone for TotalIncremental
source§fn clone(&self) -> TotalIncremental
fn clone(&self) -> TotalIncremental
Returns a copy of the value. Read more
1.0.0 · 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 TotalIncremental
impl Debug for TotalIncremental
source§impl VerdictRepresentation for TotalIncremental
impl VerdictRepresentation for TotalIncremental
§type Tracing = NoTracer
type Tracing = NoTracer
This subtype captures the tracing capabilities of the verdict representation.
source§fn create(data: RawVerdict<'_>) -> Self
fn create(data: RawVerdict<'_>) -> Self
Creates a snapshot of the streams values.
source§fn is_empty(&self) -> bool
fn is_empty(&self) -> bool
Returns whether the verdict is empty. I.e. it doesn’t contain any information.
source§fn create_with_trace(data: RawVerdict<'_>, _tracing: Self::Tracing) -> Self
fn create_with_trace(data: RawVerdict<'_>, _tracing: Self::Tracing) -> Self
Creates a snapshot of the streams values including tracing data.