Struct machinebox::suggestionbox::Prediction
[−]
[src]
pub struct Prediction { pub id: String, pub reward_id: String, pub score: f64, }
A prediction is a predicted choice
Fields
id: String
The choice identifier being predicted
reward_id: String
The ID of the reward that should be submitted if this prediction turns out to be successful
score: f64
The score is a numerical value indicating how this prediction relates to other predictions.
Trait Implementations
impl Debug for Prediction
[src]
impl Clone for Prediction
[src]
fn clone(&self) -> Prediction
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more