pub struct InspectFileIdentity {
pub file: String,
pub is_reachable: Option<Value>,
pub is_entry_point: Option<Value>,
pub export_count: Option<usize>,
pub import_count: Option<usize>,
pub imported_by_count: Option<usize>,
}Expand description
Graph identity facts for a file 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.
is_reachable: Option<Value>Whether the module graph can reach the file from an entry point.
is_entry_point: Option<Value>Whether the file is itself an entry point.
export_count: Option<usize>Number of exports the file declares.
import_count: Option<usize>Number of modules the file imports.
imported_by_count: Option<usize>Number of modules that import the file.
Trait Implementations§
Source§impl Clone for InspectFileIdentity
impl Clone for InspectFileIdentity
Source§impl Debug for InspectFileIdentity
impl Debug for InspectFileIdentity
Auto Trait Implementations§
impl Freeze for InspectFileIdentity
impl RefUnwindSafe for InspectFileIdentity
impl Send for InspectFileIdentity
impl Sync for InspectFileIdentity
impl Unpin for InspectFileIdentity
impl UnsafeUnpin for InspectFileIdentity
impl UnwindSafe for InspectFileIdentity
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