pub struct ProjectScan {
pub languages: Vec<DetectedLanguage>,
pub has_package_json: bool,
pub has_cargo_toml: bool,
pub has_pyproject_toml: bool,
pub has_go_mod: bool,
}Expand description
Detected project information
Fields§
§languages: Vec<DetectedLanguage>§has_package_json: bool§has_cargo_toml: bool§has_pyproject_toml: bool§has_go_mod: boolTrait Implementations§
Source§impl Debug for ProjectScan
impl Debug for ProjectScan
Source§impl Default for ProjectScan
impl Default for ProjectScan
Source§fn default() -> ProjectScan
fn default() -> ProjectScan
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProjectScan
impl RefUnwindSafe for ProjectScan
impl Send for ProjectScan
impl Sync for ProjectScan
impl Unpin for ProjectScan
impl UnwindSafe for ProjectScan
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> 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>
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