pub struct ThresholdingRangesNode { /* private fields */ }
Implementations§
Source§impl ThresholdingRangesNode
impl ThresholdingRangesNode
Sourcepub fn builder() -> Builder<InputStage>
pub fn builder() -> Builder<InputStage>
Returns a new builder.
Source§impl ThresholdingRangesNode
impl ThresholdingRangesNode
Sourcepub fn new(
input: NumericSeriesNode,
threshold: f64,
operator: ThresholdOperator,
) -> Self
pub fn new( input: NumericSeriesNode, threshold: f64, operator: ThresholdOperator, ) -> Self
Constructs a new instance of the type.
pub fn input(&self) -> &NumericSeriesNode
pub fn threshold(&self) -> f64
pub fn operator(&self) -> &ThresholdOperator
Sourcepub fn min_points(&self) -> Option<i32>
👎Deprecated: Use persistenceWindowConfiguration instead.
pub fn min_points(&self) -> Option<i32>
The minimum number of points for which this condition is satisfied. Must be non-negative. If not present, will default to 1.
Sourcepub fn min_duration(&self) -> Option<&Duration>
👎Deprecated: Use persistenceWindowConfiguration instead.
pub fn min_duration(&self) -> Option<&Duration>
The minimum duration for which this condition is satisfied. Must be non-negative. If not present, will default to 1 nanosecond.
pub fn persistence_window_configuration( &self, ) -> Option<&PersistenceWindowConfiguration>
Trait Implementations§
Source§impl Clone for ThresholdingRangesNode
impl Clone for ThresholdingRangesNode
Source§fn clone(&self) -> ThresholdingRangesNode
fn clone(&self) -> ThresholdingRangesNode
Returns a duplicate 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 ThresholdingRangesNode
impl Debug for ThresholdingRangesNode
Source§impl<'de> Deserialize<'de> for ThresholdingRangesNode
impl<'de> Deserialize<'de> for ThresholdingRangesNode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<ThresholdingRangesNode> for Builder<Complete>
impl From<ThresholdingRangesNode> for Builder<Complete>
Source§fn from(v: ThresholdingRangesNode) -> Self
fn from(v: ThresholdingRangesNode) -> Self
Converts to this type from the input type.
Source§impl Hash for ThresholdingRangesNode
impl Hash for ThresholdingRangesNode
Source§impl Ord for ThresholdingRangesNode
impl Ord for ThresholdingRangesNode
Source§impl PartialEq for ThresholdingRangesNode
impl PartialEq for ThresholdingRangesNode
Source§impl PartialOrd for ThresholdingRangesNode
impl PartialOrd for ThresholdingRangesNode
Source§impl Serialize for ThresholdingRangesNode
impl Serialize for ThresholdingRangesNode
impl Eq for ThresholdingRangesNode
Auto Trait Implementations§
impl Freeze for ThresholdingRangesNode
impl RefUnwindSafe for ThresholdingRangesNode
impl Send for ThresholdingRangesNode
impl Sync for ThresholdingRangesNode
impl Unpin for ThresholdingRangesNode
impl UnwindSafe for ThresholdingRangesNode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request