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 Explorerwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<[f64; 4]>: Freeze,
PhantomData<f64>: Freeze,
impl Move for Explorer
impl RefUnwindSafe for Explorer
impl Send for Explorerwhere
RawVecInner: Send,
impl Sync for Explorerwhere
RawVecInner: Sync,
impl Unpin for Explorer
impl UnsafeUnpin for Explorerwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<[f64; 4]>: UnsafeUnpin,
PhantomData<f64>: UnsafeUnpin,
impl UnwindSafe for Explorerwhere
RawVecInner: UnwindSafe,
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