Enum flatpak_rs::source::FlatpakSourceType
source · [−]pub enum FlatpakSourceType {
Archive,
Git,
Bazaar,
Svn,
Dir,
File,
Script,
Shell,
Patch,
ExtraData,
}
Expand description
The Flatpak sources can be of multiple different types, determined
by the type
field. The type of the Flatpak source will determine which
other fields should be populated.
Variants
Archive
Git
Bazaar
Svn
Dir
File
Script
Shell
Patch
ExtraData
Implementations
Determines if a Flatpak source points to a code project. See crate::source::CODE_TYPES for the list of code types.
Determines if a Flatpak source points to a version-control system repository. See crate::source::VCS_TYPES for the list of VCS types.
Determines if mirror urls can be used with that source type.
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
Auto Trait Implementations
impl RefUnwindSafe for FlatpakSourceType
impl Send for FlatpakSourceType
impl Sync for FlatpakSourceType
impl Unpin for FlatpakSourceType
impl UnwindSafe for FlatpakSourceType
Blanket Implementations
Mutably borrows from an owned value. Read more