#[non_exhaustive]pub struct ConditionBasedCollectionScheme {
    pub expression: String,
    pub minimum_trigger_interval_ms: Option<i64>,
    pub trigger_mode: Option<TriggerMode>,
    pub condition_language_version: Option<i32>,
}Expand description
Information about a collection scheme that uses a simple logical expression to recognize what data to collect.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.expression: StringThe logical expression used to recognize what data to collect. For example, $variable.`Vehicle.OutsideAirTemperature` >= 105.0.
minimum_trigger_interval_ms: 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.
trigger_mode: 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.
condition_language_version: Option<i32>Specifies the version of the conditional expression language.
Implementations§
source§impl ConditionBasedCollectionScheme
 
impl ConditionBasedCollectionScheme
sourcepub fn expression(&self) -> &str
 
pub fn expression(&self) -> &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() -> ConditionBasedCollectionSchemeBuilder
 
pub fn builder() -> ConditionBasedCollectionSchemeBuilder
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 for ConditionBasedCollectionScheme
 
impl PartialEq 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 ==.impl StructuralPartialEq for ConditionBasedCollectionScheme
Auto Trait Implementations§
impl Freeze for ConditionBasedCollectionScheme
impl RefUnwindSafe for ConditionBasedCollectionScheme
impl Send for ConditionBasedCollectionScheme
impl Sync for ConditionBasedCollectionScheme
impl Unpin for ConditionBasedCollectionScheme
impl UnwindSafe for ConditionBasedCollectionScheme
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
source§impl<T> Instrument for T
 
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more