[][src]Struct panbuild::AbstractModule

pub struct AbstractModule {
    pub module_type: ModuleType,
    pub name: String,
    pub version: String,
    pub url: String,
    pub url_type: SourceType,
    pub build_system: BuildSystem,
    pub packaging_system: PackagingSystem,
    pub install_instructions: String,
    pub install_path: String,
    pub tag: String,
    pub commit: String,
    pub sha256: String,
    pub config_options: String,
    pub cleanup_files: Vec<String>,
    pub depends_on: Vec<AbstractModule>,
    pub is_primary: bool,
}

Generic representation of a software module. TODO use the list of all debian packages at https://packages.debian.org/stable/allpackages TODO use the list of all arch packages at https://www.archlinux.org/packages/

Fields

module_type: ModuleTypename: Stringversion: Stringurl: Stringurl_type: SourceTypebuild_system: BuildSystempackaging_system: PackagingSysteminstall_instructions: Stringinstall_path: Stringtag: Stringcommit: Stringsha256: Stringconfig_options: Stringcleanup_files: Vec<String>depends_on: Vec<AbstractModule>is_primary: bool

Trait Implementations

impl Debug for AbstractModule[src]

impl Default for AbstractModule[src]

impl<'de> Deserialize<'de> for AbstractModule[src]

impl Serialize for AbstractModule[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.