Enum flatpak_rs::flatpak_manifest::FlatpakSource
source · [−]pub enum FlatpakSource {
Path(String),
Description(FlatpakSourceDescription),
}
Expand description
The sources are a list pointer to the source code that needs to be extracted into the build directory before the build starts. They can be of several types, distinguished by the type property.
Additionally, the sources list can contain a plain string, which is interpreted as the name of a separate json or yaml file that is read and inserted at this point. The file can contain a single source, or an array of sources.
Variants
Path(String)
Description(FlatpakSourceDescription)
Implementations
pub fn get_all_mirror_urls(&self) -> Vec<String>ⓘ
pub fn get_all_urls(&self) -> Vec<String>ⓘ
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 FlatpakSource
impl Send for FlatpakSource
impl Sync for FlatpakSource
impl Unpin for FlatpakSource
impl UnwindSafe for FlatpakSource
Blanket Implementations
Mutably borrows from an owned value. Read more