#[non_exhaustive]pub enum PackageEcosystem {
Npm,
Python,
Cargo,
Go,
Maven,
Gradle,
NuGet,
}Expand description
Package manager or language ecosystem associated with an extracted declaration.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Npm
JavaScript packages distributed through npm-compatible registries.
Python
Python distributions.
Cargo
Rust crates.
Go
Go modules.
Maven
Java Virtual Machine artifacts addressed by Maven coordinates.
Gradle
Dependencies declared by Gradle build scripts.
NuGet
.NET packages distributed through NuGet.
Trait Implementations§
Source§impl Clone for PackageEcosystem
impl Clone for PackageEcosystem
Source§fn clone(&self) -> PackageEcosystem
fn clone(&self) -> PackageEcosystem
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 moreimpl Copy for PackageEcosystem
Source§impl Debug for PackageEcosystem
impl Debug for PackageEcosystem
Source§impl<'de> Deserialize<'de> for PackageEcosystem
impl<'de> Deserialize<'de> for PackageEcosystem
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 PackageEcosystem
Source§impl Hash for PackageEcosystem
impl Hash for PackageEcosystem
Source§impl Ord for PackageEcosystem
impl Ord for PackageEcosystem
Source§fn cmp(&self, other: &PackageEcosystem) -> Ordering
fn cmp(&self, other: &PackageEcosystem) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PackageEcosystem
impl PartialEq for PackageEcosystem
Source§impl PartialOrd for PackageEcosystem
impl PartialOrd for PackageEcosystem
Source§impl Serialize for PackageEcosystem
impl Serialize for PackageEcosystem
impl StructuralPartialEq for PackageEcosystem
Auto Trait Implementations§
impl Freeze for PackageEcosystem
impl RefUnwindSafe for PackageEcosystem
impl Send for PackageEcosystem
impl Sync for PackageEcosystem
impl Unpin for PackageEcosystem
impl UnsafeUnpin for PackageEcosystem
impl UnwindSafe for PackageEcosystem
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.