pub struct Forecast {
pub agent: String,
pub choice: String,
pub confidence: Option<f64>,
}Expand description
learn_about and learn_anchors together, written to the pack:
the rows, then the personas the outcome moved. Returns what was written.
§Errors
The pack refusing a row or a persona. A ballot as a forecast: the choice, and the probability the voter stated for that choice. Absent confidence is not a claim of certainty.
Fields§
§agent: String§choice: String§confidence: Option<f64>Trait Implementations§
impl StructuralPartialEq for Forecast
Auto Trait Implementations§
impl Freeze for Forecast
impl RefUnwindSafe for Forecast
impl Send for Forecast
impl Sync for Forecast
impl Unpin for Forecast
impl UnsafeUnpin for Forecast
impl UnwindSafe for Forecast
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more