pub struct SummaryWithUncertainty {
pub summary_id: String,
pub text: String,
pub confidence: f32,
pub sources: Vec<String>,
pub uncertainty: Option<Uncertainty>,
}Expand description
Summary + uncertainty, paired (§12.4).
Fields§
§summary_id: String§text: String§confidence: f32§sources: Vec<String>§uncertainty: Option<Uncertainty>Computed uncertainty for this summary (§13.1, P10, 10.1).
None for summaries from before uncertainty was tracked.
Trait Implementations§
Source§impl Clone for SummaryWithUncertainty
impl Clone for SummaryWithUncertainty
Source§fn clone(&self) -> SummaryWithUncertainty
fn clone(&self) -> SummaryWithUncertainty
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SummaryWithUncertainty
impl Debug for SummaryWithUncertainty
Source§impl<'de> Deserialize<'de> for SummaryWithUncertainty
impl<'de> Deserialize<'de> for SummaryWithUncertainty
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 Freeze for SummaryWithUncertainty
impl RefUnwindSafe for SummaryWithUncertainty
impl Send for SummaryWithUncertainty
impl Sync for SummaryWithUncertainty
impl Unpin for SummaryWithUncertainty
impl UnsafeUnpin for SummaryWithUncertainty
impl UnwindSafe for SummaryWithUncertainty
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