pub struct InspectSymbolIdentity {
pub file: String,
pub export_name: String,
pub file_reachable: Option<Value>,
pub is_entry_point: Option<Value>,
pub is_used: Option<Value>,
pub reason: Option<Value>,
}Expand description
Graph identity facts for a symbol target. Value-typed fields carry the
graph’s verdict when analysis ran and are null when it did not.
Fields§
§file: StringFile path relative to the analysed root.
export_name: StringName of the inspected export.
file_reachable: Option<Value>Whether the containing file is reachable from an entry point.
is_entry_point: Option<Value>Whether the containing file is itself an entry point.
is_used: Option<Value>Whether the export has any recorded consumer.
reason: Option<Value>Explanation of the usage verdict, when the graph recorded one.
Trait Implementations§
Source§impl Clone for InspectSymbolIdentity
impl Clone for InspectSymbolIdentity
Source§impl Debug for InspectSymbolIdentity
impl Debug for InspectSymbolIdentity
Auto Trait Implementations§
impl Freeze for InspectSymbolIdentity
impl RefUnwindSafe for InspectSymbolIdentity
impl Send for InspectSymbolIdentity
impl Sync for InspectSymbolIdentity
impl Unpin for InspectSymbolIdentity
impl UnsafeUnpin for InspectSymbolIdentity
impl UnwindSafe for InspectSymbolIdentity
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