#[non_exhaustive]pub struct NoulAnswer {
pub noul: f64,
}Expand description
The answer to a yes/no question.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.noul: f64The probability that the answer is yes, from 0 (no) to 1 (yes). It is calibrated: of the answers given as 0.9, about nine in ten are a yes. Near 0.5 the model does not know.
Implementations§
Trait Implementations§
Source§impl Clone for NoulAnswer
impl Clone for NoulAnswer
impl Copy for NoulAnswer
Source§impl Debug for NoulAnswer
impl Debug for NoulAnswer
Source§impl PartialEq for NoulAnswer
impl PartialEq for NoulAnswer
Source§impl Serialize for NoulAnswer
impl Serialize for NoulAnswer
impl StructuralPartialEq for NoulAnswer
Auto Trait Implementations§
impl Freeze for NoulAnswer
impl RefUnwindSafe for NoulAnswer
impl Send for NoulAnswer
impl Sync for NoulAnswer
impl Unpin for NoulAnswer
impl UnsafeUnpin for NoulAnswer
impl UnwindSafe for NoulAnswer
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