#[non_exhaustive]pub enum ArtifactKind {
Source,
Binary,
}Expand description
The artifact type.
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.
Trait Implementations§
Source§impl AsRef<str> for ArtifactKind
impl AsRef<str> for ArtifactKind
Source§impl Clone for ArtifactKind
impl Clone for ArtifactKind
Source§fn clone(&self) -> ArtifactKind
fn clone(&self) -> ArtifactKind
Returns a duplicate 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 Display for ArtifactKind
impl Display for ArtifactKind
Source§impl FromStr for ArtifactKind
impl FromStr for ArtifactKind
Source§impl PartialEq for ArtifactKind
impl PartialEq for ArtifactKind
Source§impl Serialize for ArtifactKind
impl Serialize for ArtifactKind
Source§impl TryFrom<&str> for ArtifactKind
impl TryFrom<&str> for ArtifactKind
impl Copy for ArtifactKind
impl StructuralPartialEq for ArtifactKind
Auto Trait Implementations§
impl Freeze for ArtifactKind
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