pub struct NoteHit {
pub path: String,
pub title: String,
pub score: f32,
pub excerpt: String,
pub heading: Option<String>,
pub line_start: i64,
pub line_end: i64,
pub tags: Vec<String>,
pub breakdown: TierBreakdown,
}Fields§
§path: String§title: String§score: f32§excerpt: String§heading: Option<String>§line_start: i64§line_end: i64§breakdown: TierBreakdownTrait Implementations§
Auto Trait Implementations§
impl Freeze for NoteHit
impl RefUnwindSafe for NoteHit
impl Send for NoteHit
impl Sync for NoteHit
impl Unpin for NoteHit
impl UnsafeUnpin for NoteHit
impl UnwindSafe for NoteHit
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