pub struct ReferenceReport {Show 13 fields
pub target: ReferenceTarget,
pub counts: ReferenceCounts,
pub sites: Vec<LabeledSite>,
pub text_only: Vec<TextOnlyLines>,
pub text_scan: TextScanSummary,
pub cannot_see: Vec<String>,
pub imports: Vec<(String, usize)>,
pub overrides: Vec<OverrideRow>,
pub overridden: Vec<OverrideRow>,
pub constructions: Vec<ConstructionSite>,
pub variant_uses: Vec<VariantUse>,
pub registrations: Vec<Registration>,
pub tests: Vec<CallingTest>,
}Expand description
Every indexed site of one definition’s name, labeled by evidence, with a whole-word text count
that accounts for each line of the name. sites is complete and sorted by label (proven,
likely, unresolved, excluded), then path, line, and column. The section arrays come after
labeling, never change a label, and are left out of JSON when empty.
Fields§
§target: ReferenceTarget§counts: ReferenceCounts§sites: Vec<LabeledSite>§text_only: Vec<TextOnlyLines>§text_scan: TextScanSummary§cannot_see: Vec<String>§imports: Vec<(String, usize)>§overrides: Vec<OverrideRow>Methods of subtypes that calls through the target can reach.
overridden: Vec<OverrideRow>Methods of ancestor types that the target overrides, nearest first.
constructions: Vec<ConstructionSite>Places that build a value of a class, struct, or record target, one row per line.
variant_uses: Vec<VariantUse>Functions that name variants of an enum target, most variants first.
registrations: Vec<Registration>Route facts and other framework facts that register the target function as a handler.
tests: Vec<CallingTest>Tests with a proven or likely site of the target, each with the command that runs it.
Trait Implementations§
Source§impl Clone for ReferenceReport
impl Clone for ReferenceReport
Source§impl Debug for ReferenceReport
impl Debug for ReferenceReport
Source§impl<'de> Deserialize<'de> for ReferenceReport
impl<'de> Deserialize<'de> for ReferenceReport
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>,
Source§impl PartialEq for ReferenceReport
impl PartialEq for ReferenceReport
Source§impl Serialize for ReferenceReport
impl Serialize for ReferenceReport
impl StructuralPartialEq for ReferenceReport
Auto Trait Implementations§
impl Freeze for ReferenceReport
impl RefUnwindSafe for ReferenceReport
impl Send for ReferenceReport
impl Sync for ReferenceReport
impl Unpin for ReferenceReport
impl UnsafeUnpin for ReferenceReport
impl UnwindSafe for ReferenceReport
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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> ⓘ
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> ⓘ
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