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

The choice identifier being predicted

The ID of the reward that should be submitted if this prediction turns out to be successful

The score is a numerical value indicating how this prediction relates to other predictions.

Trait Implementations

impl Debug for Prediction
[src]

[src]

Formats the value using the given formatter.

impl Clone for Prediction
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more