Enum gitlab::api::packages::PackageType
source · #[non_exhaustive]pub enum PackageType {
Conan,
Maven,
Npm,
Pypi,
Composer,
Nuget,
Helm,
TerraformModule,
GoLang,
}
Expand description
Package types
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.
Conan
Return conan
(C and C++) packages.
Maven
Return maven
(Java) packages.
Npm
Return npm
(NodeJS) packages.
Pypi
Return pypi
(Python) packages.
Composer
Return composer
(PHP) packages.
Nuget
Return nuget
(C#) packages.
Helm
Return helm
(Kubernetes) packages.
TerraformModule
Return terraform
(Terraform) packages.
GoLang
Return golang
(Go) packages.
Trait Implementations§
source§impl Clone for PackageType
impl Clone for PackageType
source§fn clone(&self) -> PackageType
fn clone(&self) -> PackageType
Returns a copy of the value. Read more
1.0.0 · 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 PackageType
impl Debug for PackageType
source§impl ParamValue<'static> for PackageType
impl ParamValue<'static> for PackageType
source§impl PartialEq for PackageType
impl PartialEq for PackageType
source§fn eq(&self, other: &PackageType) -> bool
fn eq(&self, other: &PackageType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PackageType
impl Eq for PackageType
impl StructuralPartialEq for PackageType
Auto Trait Implementations§
impl Freeze for PackageType
impl RefUnwindSafe for PackageType
impl Send for PackageType
impl Sync for PackageType
impl Unpin for PackageType
impl UnwindSafe for PackageType
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<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.