Struct aur::model::SearchResult

source ·
pub struct SearchResult {
Show 14 fields pub description: Option<String>, pub first_submitted: u64, pub id: u64, pub last_modified: u64, pub maintainer: Option<String>, pub name: String, pub num_votes: u64, pub out_of_date: Option<u64>, pub package_base: String, pub package_base_id: u64, pub popularity: f64, pub url: Option<String>, pub url_path: String, pub version: String,
}
Expand description

A result for a search without additional information metadata.

Fields§

§description: Option<String>

A longer description of the package.

§first_submitted: u64

When the package was first submitted.

§id: u64

The ID of the package.

§last_modified: u64

When the package was last modified.

§maintainer: Option<String>

The name of the package’s maintainer.

§name: String

The name of the package.

§num_votes: u64

The number of votes that the package has.

§out_of_date: Option<u64>

When the package was marked as out-of-date.

§package_base: String

The name of the base package.

§package_base_id: u64

The ID of the base package.

§popularity: f64

The relative popularity of the package.

§url: Option<String>

URL to the package’s project home.

§url_path: String

Path to the package’s snapshot tar.

§version: String

The version of the package.

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
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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
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.