Enum buildsrs_storage::ArtifactKind
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§
§impl ArtifactKind
impl ArtifactKind
Trait Implementations§
§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
.§fn arbitrary_with(
args: <ArtifactKind as Arbitrary>::Parameters
) -> <ArtifactKind as Arbitrary>::Strategy
fn arbitrary_with( args: <ArtifactKind as Arbitrary>::Parameters ) -> <ArtifactKind as Arbitrary>::Strategy
§impl Clone for ArtifactKind
impl Clone for ArtifactKind
§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 more§impl Debug for ArtifactKind
impl Debug for ArtifactKind
§impl<'de> Deserialize<'de> for ArtifactKind
impl<'de> Deserialize<'de> for ArtifactKind
§fn deserialize<__D>(
__deserializer: __D
) -> Result<ArtifactKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<ArtifactKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl FromStr for ArtifactKind
impl FromStr for ArtifactKind
§impl Hash for ArtifactKind
impl Hash for ArtifactKind
§impl Ord for ArtifactKind
impl Ord for ArtifactKind
§impl PartialEq for ArtifactKind
impl PartialEq for ArtifactKind
§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 ==
.§impl PartialOrd for ArtifactKind
impl PartialOrd for ArtifactKind
§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 more§impl Serialize for ArtifactKind
impl Serialize for ArtifactKind
§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
§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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.