Enum buildsrs_common::entities::ArtifactKind
source · pub enum ArtifactKind {
Metadata,
Tarball,
Debian,
Coverage,
}
Expand description
Kind of artifact.
Variants§
Metadata
Manifest, with a .json
extension.
Tarball
Tarball, with a .tar.gz
extension.
Debian
Debian package, with a .deb
extension.
Coverage
Coverage report, with a .deb
extension.
Implementations§
Trait Implementations§
source§impl Arbitrary for ArtifactKind
impl Arbitrary for ArtifactKind
§type Parameters = ()
type Parameters = ()
The type of parameters that
arbitrary_with
accepts for configuration
of the generated Strategy
. Parameters must implement Default
.§type Strategy = BoxedStrategy<ArtifactKind>
type Strategy = BoxedStrategy<ArtifactKind>
The type of
Strategy
used to generate values of type Self
.source§fn arbitrary_with(args: <Self as Arbitrary>::Parameters) -> Self::Strategy
fn arbitrary_with(args: <Self as Arbitrary>::Parameters) -> Self::Strategy
source§impl Clone for ArtifactKind
impl Clone for ArtifactKind
source§fn clone(&self) -> ArtifactKind
fn clone(&self) -> ArtifactKind
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 ArtifactKind
impl Debug for ArtifactKind
source§impl<'de> Deserialize<'de> for ArtifactKind
impl<'de> Deserialize<'de> for ArtifactKind
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
source§impl FromStr for ArtifactKind
impl FromStr for ArtifactKind
source§impl Hash for ArtifactKind
impl Hash for ArtifactKind
source§impl Ord for ArtifactKind
impl Ord for ArtifactKind
source§fn cmp(&self, other: &ArtifactKind) -> Ordering
fn cmp(&self, other: &ArtifactKind) -> Ordering
1.21.0 · 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 ArtifactKind
impl PartialEq for ArtifactKind
source§fn eq(&self, other: &ArtifactKind) -> bool
fn eq(&self, other: &ArtifactKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ArtifactKind
impl PartialOrd for ArtifactKind
source§fn partial_cmp(&self, other: &ArtifactKind) -> Option<Ordering>
fn partial_cmp(&self, other: &ArtifactKind) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for ArtifactKind
impl Serialize for ArtifactKind
source§impl TryFrom<&str> for ArtifactKind
impl TryFrom<&str> for ArtifactKind
impl Copy for ArtifactKind
impl Eq for ArtifactKind
impl StructuralEq for ArtifactKind
impl StructuralPartialEq for ArtifactKind
Auto Trait Implementations§
impl RefUnwindSafe for ArtifactKind
impl Send for ArtifactKind
impl Sync for ArtifactKind
impl Unpin for ArtifactKind
impl UnwindSafe for ArtifactKind
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