pub struct ProjectInfo {
pub kind: KindId,
pub label: String,
pub rel_path: String,
pub absolute_path: PathBuf,
pub signals: Vec<String>,
pub member_of: Vec<PathBuf>,
}Expand description
Single project entry in a DetectionResult.
Fields§
§kind: KindIdProject kind (Rust / Node / Bun / …).
label: StringHuman label, derived from manifest name or directory basename.
rel_path: StringPOSIX-style path relative to the scan root (./packages/web,
. when the scan root itself is the project).
absolute_path: PathBufAbsolute on-disk path of the project root.
signals: Vec<String>Files / patterns that triggered detection.
member_of: Vec<PathBuf>Absolute paths of workspace roots that declare this project as a member. Empty when the project is orphan (not part of any detected workspace). Multi-entry when overlapping workspaces claim the same project (rare; e.g. Cargo + Bazel).
Trait Implementations§
Source§impl Clone for ProjectInfo
impl Clone for ProjectInfo
Source§fn clone(&self) -> ProjectInfo
fn clone(&self) -> ProjectInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProjectInfo
impl Debug for ProjectInfo
Auto Trait Implementations§
impl Freeze for ProjectInfo
impl RefUnwindSafe for ProjectInfo
impl Send for ProjectInfo
impl Sync for ProjectInfo
impl Unpin for ProjectInfo
impl UnsafeUnpin for ProjectInfo
impl UnwindSafe for ProjectInfo
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