pub struct BehaviorIndicator {
pub indicator_type: IndicatorType,
pub metric: String,
pub operator: ComparisonOperator,
pub value: f32,
pub weight: f32,
}Expand description
Caller-supplied signal indicator.
Fields§
§indicator_type: IndicatorType§metric: String§operator: ComparisonOperator§value: f32§weight: f32Trait Implementations§
Source§impl Clone for BehaviorIndicator
impl Clone for BehaviorIndicator
Source§fn clone(&self) -> BehaviorIndicator
fn clone(&self) -> BehaviorIndicator
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 BehaviorIndicator
impl Debug for BehaviorIndicator
Source§impl<'de> Deserialize<'de> for BehaviorIndicator
impl<'de> Deserialize<'de> for BehaviorIndicator
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 PartialEq for BehaviorIndicator
impl PartialEq for BehaviorIndicator
Source§impl Serialize for BehaviorIndicator
impl Serialize for BehaviorIndicator
impl StructuralPartialEq for BehaviorIndicator
Auto Trait Implementations§
impl Freeze for BehaviorIndicator
impl RefUnwindSafe for BehaviorIndicator
impl Send for BehaviorIndicator
impl Sync for BehaviorIndicator
impl Unpin for BehaviorIndicator
impl UnsafeUnpin for BehaviorIndicator
impl UnwindSafe for BehaviorIndicator
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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