pub enum Ecosystem {
Npm,
Cargo,
PyPI,
Go,
Ruby,
Php,
Maven,
NuGet,
}Expand description
A package ecosystem. New ecosystems are added here and wired up with a manifest + collector adapter; the scoring engine does not change.
Variants§
Implementations§
Source§impl Ecosystem
impl Ecosystem
Sourcepub fn deps_dev_system(self) -> &'static str
pub fn deps_dev_system(self) -> &'static str
The identifier deps.dev uses for this ecosystem (their “system” path segment). deps.dev does not cover Packagist; PHP relies on OSV for vulnerabilities and gets no deps.dev enrichment (the lookup 404s and is ignored).
Sourcepub fn osv_ecosystem(self) -> &'static str
pub fn osv_ecosystem(self) -> &'static str
The identifier OSV.dev uses for this ecosystem.
Trait Implementations§
impl Copy for Ecosystem
Source§impl<'de> Deserialize<'de> for Ecosystem
impl<'de> Deserialize<'de> for Ecosystem
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Ecosystem
impl StructuralPartialEq for Ecosystem
Auto Trait Implementations§
impl Freeze for Ecosystem
impl RefUnwindSafe for Ecosystem
impl Send for Ecosystem
impl Sync for Ecosystem
impl Unpin for Ecosystem
impl UnsafeUnpin for Ecosystem
impl UnwindSafe for Ecosystem
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