pub struct Explorer {
pub ticker: String,
pub asset: Asset,
pub trends: Vec<Trend>,
pub horizontals: Vec<f64>,
pub notifications: Vec<f64>,
}Expand description
Per-ticker explorer state. Horizontals are plain price lines, notifications are price lines that fire an email (and remove themselves) when crossed.
Fields§
§ticker: String§asset: Asset§trends: Vec<Trend>§horizontals: Vec<f64>§notifications: Vec<f64>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Explorer
impl<'de> Deserialize<'de> for Explorer
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
impl StructuralPartialEq for Explorer
Auto Trait Implementations§
impl Forget for Explorer
impl Freeze for Explorer
impl Move for Explorer
impl RefUnwindSafe for Explorer
impl Send for Explorer
impl Sync for Explorer
impl Unpin for Explorer
impl UnsafeUnpin for Explorer
impl UnwindSafe for Explorer
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