Enum appstream::enums::ArtifactKind
source · [−]#[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.
Source
The artifact is distributed as source-code.
Binary
The artifact is distributed as binary.
Trait Implementations
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
type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing.
type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
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
Mutably borrows from an owned value. Read more