pub struct IndicatorAlert {
pub kind: String,
pub note: String,
pub strength: f64,
}Expand description
Alert emitted by an indicator when a critical threshold or cross occurs.
Fields§
§kind: String§note: String§strength: f64Implementations§
Trait Implementations§
Source§impl Clone for IndicatorAlert
impl Clone for IndicatorAlert
Source§fn clone(&self) -> IndicatorAlert
fn clone(&self) -> IndicatorAlert
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 IndicatorAlert
impl Debug for IndicatorAlert
Source§impl<'de> Deserialize<'de> for IndicatorAlert
impl<'de> Deserialize<'de> for IndicatorAlert
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 Display for IndicatorAlert
impl Display for IndicatorAlert
Source§impl PartialEq for IndicatorAlert
impl PartialEq for IndicatorAlert
Source§impl Serialize for IndicatorAlert
impl Serialize for IndicatorAlert
impl StructuralPartialEq for IndicatorAlert
Auto Trait Implementations§
impl Freeze for IndicatorAlert
impl RefUnwindSafe for IndicatorAlert
impl Send for IndicatorAlert
impl Sync for IndicatorAlert
impl Unpin for IndicatorAlert
impl UnsafeUnpin for IndicatorAlert
impl UnwindSafe for IndicatorAlert
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