pub struct FindHit {
pub path: String,
pub purpose: Option<String>,
pub source: String,
}Expand description
Represents FindHit.
Fields§
§path: StringThe path value.
purpose: Option<String>The entry’s purpose, passed through as-is and NOT defaulted the way
source is. None when the key is absent; an explicit JSON null
purpose also collapses to None (not produced by any real manifest
writer).
source: StringThe entry’s source, defaulting to "heuristic" – always resolved,
never absent in the output (an absent key and an explicit null both
default to "heuristic").
Trait Implementations§
impl StructuralPartialEq for FindHit
Auto Trait Implementations§
impl Freeze for FindHit
impl RefUnwindSafe for FindHit
impl Send for FindHit
impl Sync for FindHit
impl Unpin for FindHit
impl UnsafeUnpin for FindHit
impl UnwindSafe for FindHit
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