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§
source§impl Clone for SearchResult
impl Clone for SearchResult
source§fn clone(&self) -> SearchResult
fn clone(&self) -> SearchResult
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SearchResult
impl Debug for SearchResult
source§impl<'de> Deserialize<'de> for SearchResult
impl<'de> Deserialize<'de> for SearchResult
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more