pub struct PlaybookTickLog {
pub ts: String,
pub symbol: String,
pub regime: String,
pub regime_changed: bool,
pub fsm_state: String,
pub action: String,
pub triggered_rules: Vec<String>,
pub entry_price: Option<f64>,
pub current_price: Option<f64>,
pub unrealized_pnl: Option<f64>,
}Fields§
§ts: String§symbol: String§regime: String§regime_changed: bool§fsm_state: String§action: String§triggered_rules: Vec<String>§entry_price: Option<f64>§current_price: Option<f64>§unrealized_pnl: Option<f64>Trait Implementations§
Source§impl Clone for PlaybookTickLog
impl Clone for PlaybookTickLog
Source§fn clone(&self) -> PlaybookTickLog
fn clone(&self) -> PlaybookTickLog
Returns a duplicate of the value. Read more
1.0.0 · 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 PlaybookTickLog
impl Debug for PlaybookTickLog
Source§impl<'de> Deserialize<'de> for PlaybookTickLog
impl<'de> Deserialize<'de> for PlaybookTickLog
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
Auto Trait Implementations§
impl Freeze for PlaybookTickLog
impl RefUnwindSafe for PlaybookTickLog
impl Send for PlaybookTickLog
impl Sync for PlaybookTickLog
impl Unpin for PlaybookTickLog
impl UnsafeUnpin for PlaybookTickLog
impl UnwindSafe for PlaybookTickLog
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