pub struct ScoredNote {
pub note: Note,
pub score: i32,
pub reasons: Vec<String>,
pub score_breakdown: Vec<ScoreContribution>,
pub confidence: ConfidenceTier,
pub excerpt: String,
}Fields§
§note: Note§score: i32§reasons: Vec<String>§score_breakdown: Vec<ScoreContribution>§confidence: ConfidenceTier§excerpt: StringImplementations§
Source§impl ScoredNote
impl ScoredNote
pub fn to_candidate(&self) -> CandidateNote
Trait Implementations§
Source§impl Clone for ScoredNote
impl Clone for ScoredNote
Source§fn clone(&self) -> ScoredNote
fn clone(&self) -> ScoredNote
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 ScoredNote
impl Debug for ScoredNote
Source§impl From<&ScoredNote> for CandidateNote
impl From<&ScoredNote> for CandidateNote
Source§fn from(value: &ScoredNote) -> Self
fn from(value: &ScoredNote) -> Self
Converts to this type from the input type.
Source§impl From<ScoredNote> for CandidateNote
impl From<ScoredNote> for CandidateNote
Source§fn from(value: ScoredNote) -> Self
fn from(value: ScoredNote) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ScoredNote
impl RefUnwindSafe for ScoredNote
impl Send for ScoredNote
impl Sync for ScoredNote
impl Unpin for ScoredNote
impl UnsafeUnpin for ScoredNote
impl UnwindSafe for ScoredNote
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