pub struct Trajectory {
pub observations: Vec<Observation>,
pub predictions: Vec<Prediction>,
pub actions: Vec<Action>,
pub outcomes: Vec<Value>,
pub prediction_errors: Vec<f64>,
pub meta: BTreeMap<String, Value>,
}Expand description
Data structure representing trajectory.
Fields§
§observations: Vec<Observation>Collection of observations.
predictions: Vec<Prediction>Collection of predictions.
actions: Vec<Action>Collection of actions.
outcomes: Vec<Value>Collection of outcomes.
prediction_errors: Vec<f64>Collection of prediction errors.
meta: BTreeMap<String, Value>Mapping of meta.
Trait Implementations§
Source§impl Clone for Trajectory
impl Clone for Trajectory
Source§impl Debug for Trajectory
impl Debug for Trajectory
Source§impl<'de> Deserialize<'de> for Trajectory
impl<'de> Deserialize<'de> for Trajectory
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 Forget for Trajectory
impl Freeze for Trajectorywhere
*const u8 is !null: Freeze,
PhantomData<Observation>: Freeze,
PhantomData<Prediction>: Freeze,
PhantomData<Action>: Freeze,
PhantomData<Value>: Freeze,
PhantomData<f64>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
impl Move for Trajectory
impl RefUnwindSafe for Trajectory
impl Send for Trajectory
impl Sync for Trajectory
impl Unpin for Trajectory
impl UnsafeUnpin for Trajectorywhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Observation>: UnsafeUnpin,
PhantomData<Prediction>: UnsafeUnpin,
PhantomData<Action>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
PhantomData<f64>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
impl UnwindSafe for Trajectorywhere
RawVecInner: UnwindSafe,
NonZero<i32>: UnwindSafe,
Utc: UnwindSafe,
BTreeMap<String, Value>: 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