Struct archlinux_repo::Package[][src]

pub struct Package {
Show 24 fields pub file_name: String, pub name: String, pub base: Option<String>, pub version: String, pub description: Option<String>, pub groups: Option<Vec<String>>, pub compressed_size: u64, pub installed_size: u64, pub md5_sum: String, pub sha256_sum: String, pub pgp_signature: String, pub home_url: Option<String>, pub license: Option<Vec<String>>, pub architecture: String, pub build_date: DateTime<Utc>, pub packager: String, pub replaces: Option<Vec<String>>, pub conflicts: Option<Vec<String>>, pub provides: Option<Vec<String>>, pub depends: Option<Vec<Dependency>>, pub optdepends: Option<Vec<Dependency>>, pub makedepends: Option<Vec<Dependency>>, pub checkdepends: Option<Vec<Dependency>>, pub linked_sources: Vec<Arc<Package>>,
}
Expand description

Repository package

Fields

file_name: String

file name

name: String

name

base: Option<String>

name without architecture

version: String

version

description: Option<String>

description

groups: Option<Vec<String>>

package groups

compressed_size: u64

tar.xz archive size

installed_size: u64

installed files size

md5_sum: String

MD5 checksum

sha256_sum: String

SHA256 checksum

pgp_signature: String

PGP signature

home_url: Option<String>

package home url

license: Option<Vec<String>>

license name

architecture: String

processor architecture

build_date: DateTime<Utc>

build date

packager: String

who created this package

replaces: Option<Vec<String>>

packages which this package replaces

conflicts: Option<Vec<String>>

packages which cannot be used with this package

provides: Option<Vec<String>>

packages provided by this package

depends: Option<Vec<Dependency>>

run-time dependencies

optdepends: Option<Vec<Dependency>>makedepends: Option<Vec<Dependency>>

build-time dependencies

checkdepends: Option<Vec<Dependency>>linked_sources: Vec<Arc<Package>>

VCS packages with same name. For example test-git-1.0 is a VCS package for test-1.0. Supported prefixes are:

  • cvs
  • svn
  • hg
  • darcs
  • bzr
  • git

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Compare self to key and return true if they are equal.

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.