pub struct Package {Show 26 fields
pub id: u32,
pub name: String,
pub package_base_id: u32,
pub package_base: String,
pub version: String,
pub description: Option<String>,
pub url: Option<String>,
pub num_votes: u32,
pub popularity: f64,
pub out_of_date: Option<i64>,
pub maintainer: Option<String>,
pub submitter: Option<String>,
pub first_submitted: i64,
pub last_modified: i64,
pub url_path: String,
pub groups: Vec<String>,
pub depends: Vec<String>,
pub make_depends: Vec<String>,
pub opt_depends: Vec<String>,
pub check_depends: Vec<String>,
pub conflicts: Vec<String>,
pub replaces: Vec<String>,
pub provides: Vec<String>,
pub license: Vec<String>,
pub keywords: Vec<String>,
pub co_maintainers: Vec<String>,
}Expand description
The package info that a query will return.
Fields§
§id: u32The ID of the package. Mostly used internally, to not have to reference a package by name.
name: StringThe name of the package.
package_base_id: u32The ID associated with the git location of the package.
package_base: StringThis is the git URL, usually matches the name of the package.
version: StringThe package version.
description: Option<String>The package description.
url: Option<String>The URL belonging to the upstream software.
num_votes: u32The number of votes for the package.
popularity: f64How often the package is downloaded. Decays over time.
out_of_date: Option<i64>This is the date that it was marked out-of-date.
maintainer: Option<String>The name of the package maintainer, if there is one.
submitter: Option<String>The name of the package submitter.
first_submitted: i64The time that the package was first submitted.
last_modified: i64When the package was last updated.
url_path: StringPath to download this package as a tarball. This must be appended to the domain name, as it does not include it.
groups: Vec<String>The names of the groups this package belongs to.
depends: Vec<String>The dependencies of the package itself.
make_depends: Vec<String>The dependencies that are only relevant while the package is being built.
opt_depends: Vec<String>Optional dependencies needed to enable certain features.
check_depends: Vec<String>Dependencies needed for the ‘check’ stage.
conflicts: Vec<String>The list of packages that this package conflicts with.
replaces: Vec<String>The list of packages that this package is capable of replacing.
provides: Vec<String>The namespace this package provides. For example, a *-git versions of packages provide the same package as non-git versions.
license: Vec<String>The licenses the package is signed by.
keywords: Vec<String>Keywords relevant to the package for searching on the AUR.
co_maintainers: Vec<String>The list of Co-Maintainers for a package.