pub struct ReplayStep<A> {
pub event_index: usize,
pub timestamp: i64,
pub actions: Vec<A>,
pub value: f64,
}Expand description
Captured decision trace for one event.
Fields§
§event_index: usizeIndex of the event in the input.
timestamp: i64Event timestamp.
actions: Vec<A>Decisions applied for this event.
value: f64Value at this point.
Trait Implementations§
Source§impl<A: Clone> Clone for ReplayStep<A>
impl<A: Clone> Clone for ReplayStep<A>
Source§fn clone(&self) -> ReplayStep<A>
fn clone(&self) -> ReplayStep<A>
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<A: Debug> Debug for ReplayStep<A>
impl<A: Debug> Debug for ReplayStep<A>
Source§impl<'de, A> Deserialize<'de> for ReplayStep<A>where
A: Deserialize<'de>,
impl<'de, A> Deserialize<'de> for ReplayStep<A>where
A: Deserialize<'de>,
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<A: PartialEq> PartialEq for ReplayStep<A>
impl<A: PartialEq> PartialEq for ReplayStep<A>
Source§impl<A> Serialize for ReplayStep<A>where
A: Serialize,
impl<A> Serialize for ReplayStep<A>where
A: Serialize,
impl<A: PartialEq> StructuralPartialEq for ReplayStep<A>
Auto Trait Implementations§
impl<A> Freeze for ReplayStep<A>
impl<A> RefUnwindSafe for ReplayStep<A>where
Vec<A>: RefUnwindSafe,
impl<A> Send for ReplayStep<A>
impl<A> Sync for ReplayStep<A>
impl<A> Unpin for ReplayStep<A>
impl<A> UnsafeUnpin for ReplayStep<A>where
Vec<A>: UnsafeUnpin,
impl<A> UnwindSafe for ReplayStep<A>where
Vec<A>: 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