#[non_exhaustive]pub struct ConditionBasedCollectionScheme { /* private fields */ }
Expand description
Information about a collection scheme that uses a simple logical expression to recognize what data to collect.
Implementations§
source§impl ConditionBasedCollectionScheme
impl ConditionBasedCollectionScheme
sourcepub fn expression(&self) -> Option<&str>
pub fn expression(&self) -> Option<&str>
The logical expression used to recognize what data to collect. For example, $variable.Vehicle.OutsideAirTemperature >= 105.0
.
sourcepub fn minimum_trigger_interval_ms(&self) -> Option<i64>
pub fn minimum_trigger_interval_ms(&self) -> Option<i64>
The minimum duration of time between two triggering events to collect data, in milliseconds.
If a signal changes often, you might want to collect data at a slower rate.
sourcepub fn trigger_mode(&self) -> Option<&TriggerMode>
pub fn trigger_mode(&self) -> Option<&TriggerMode>
Whether to collect data for all triggering events (ALWAYS
). Specify (RISING_EDGE
), or specify only when the condition first evaluates to false. For example, triggering on "AirbagDeployed"; Users aren't interested on triggering when the airbag is already exploded; they only care about the change from not deployed => deployed.
sourcepub fn condition_language_version(&self) -> Option<i32>
pub fn condition_language_version(&self) -> Option<i32>
Specifies the version of the conditional expression language.
source§impl ConditionBasedCollectionScheme
impl ConditionBasedCollectionScheme
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ConditionBasedCollectionScheme
.
Trait Implementations§
source§impl Clone for ConditionBasedCollectionScheme
impl Clone for ConditionBasedCollectionScheme
source§fn clone(&self) -> ConditionBasedCollectionScheme
fn clone(&self) -> ConditionBasedCollectionScheme
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<ConditionBasedCollectionScheme> for ConditionBasedCollectionScheme
impl PartialEq<ConditionBasedCollectionScheme> for ConditionBasedCollectionScheme
source§fn eq(&self, other: &ConditionBasedCollectionScheme) -> bool
fn eq(&self, other: &ConditionBasedCollectionScheme) -> bool
self
and other
values to be equal, and is used
by ==
.