pub struct RefsModel {
pub query: String,
pub id: String,
pub kind: String,
pub sites: Vec<DefSite>,
pub inbound: InboundTables,
pub outbound: Option<OutboundTables>,
pub ambiguous: AmbiguousTables,
pub bus: Table<BusHopRow>,
pub manifest_gap: usize,
pub member_refs: Option<MemberRefs>,
}Expand description
The resolved refs result for one symbol.
Fields§
§query: StringThe query value.
id: StringThe id value.
kind: StringThe kind value.
sites: Vec<DefSite>The sites value.
inbound: InboundTablesThe inbound value.
outbound: Option<OutboundTables>Present only under --out; None otherwise, which is what keeps
--json and the two text renderers agreeing about whether the outbound
side exists at all.
ambiguous: AmbiguousTablesThe ambiguous value.
bus: Table<BusHopRow>Every bus-hop row naming this symbol, combined – see bus::BusHopRow.
manifest_gap: usizeNumber of files present in the graph but absent from the manifest.
member_refs: Option<MemberRefs>Some only for an enum with member-level references; None for every
other symbol.
Trait Implementations§
impl StructuralPartialEq for RefsModel
Auto Trait Implementations§
impl Freeze for RefsModel
impl RefUnwindSafe for RefsModel
impl Send for RefsModel
impl Sync for RefsModel
impl Unpin for RefsModel
impl UnsafeUnpin for RefsModel
impl UnwindSafe for RefsModel
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