pub struct SignalRef {
pub ts: i64,
pub direction: i8,
}Expand description
A fired signal reduced to what the outcome math needs: when it fired and
which way it pointed (+1 bull / long, -1 bear / short).
Fields§
§ts: i64§direction: i8Trait Implementations§
Auto Trait Implementations§
impl Freeze for SignalRef
impl RefUnwindSafe for SignalRef
impl Send for SignalRef
impl Sync for SignalRef
impl Unpin for SignalRef
impl UnsafeUnpin for SignalRef
impl UnwindSafe for SignalRef
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