pub struct ExtractedFact {
pub fact: String,
pub fact_type: FactCategory,
pub confidence: f32,
}Expand description
Key fact extracted from content
Fields§
§fact: StringThe fact content
fact_type: FactCategoryType of fact (decision, definition, requirement, etc.)
confidence: f32Confidence score
Trait Implementations§
Source§impl Clone for ExtractedFact
impl Clone for ExtractedFact
Source§fn clone(&self) -> ExtractedFact
fn clone(&self) -> ExtractedFact
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ExtractedFact
impl RefUnwindSafe for ExtractedFact
impl Send for ExtractedFact
impl Sync for ExtractedFact
impl Unpin for ExtractedFact
impl UnsafeUnpin for ExtractedFact
impl UnwindSafe for ExtractedFact
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