1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
//! RPM package type: represents `.rpm` files or entries in the RPM database

use {License, Version};

/// RPM packages
#[derive(Clone, Debug, Eq, PartialEq, Hash)]
pub struct Package {
    /// Name of the package
    pub name: String,

    /// Version of the package
    pub version: Version,

    /// License of the package
    pub license: License,

    /// Succinct description of the package
    pub summary: String,

    /// Longer description of the package
    pub description: String,
}