Struct aur_rpc::PackageMetadata
source · pub struct PackageMetadata {Show 14 fields
pub description: Option<String>,
pub first_submitted: u64,
pub id: u32,
pub last_modified: u64,
pub maintainer: Option<String>,
pub name: String,
pub num_votes: u32,
pub out_of_date: Option<u64>,
pub package_base: String,
pub package_base_id: u32,
pub popularity: f64,
pub url: Option<String>,
pub url_path: String,
pub version: String,
}
Expand description
Represents the basic information about a package that can be retrieved from a search or by fetching the package info.
Fields
description: Option<String>
first_submitted: u64
id: u32
last_modified: u64
maintainer: Option<String>
name: String
num_votes: u32
out_of_date: Option<u64>
package_base: String
package_base_id: u32
popularity: f64
url: Option<String>
url_path: String
version: String
Trait Implementations
sourceimpl Clone for PackageMetadata
impl Clone for PackageMetadata
sourcefn clone(&self) -> PackageMetadata
fn clone(&self) -> PackageMetadata
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PackageMetadata
impl Debug for PackageMetadata
sourceimpl<'de> Deserialize<'de> for PackageMetadata
impl<'de> Deserialize<'de> for PackageMetadata
sourcefn 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
Auto Trait Implementations
impl RefUnwindSafe for PackageMetadata
impl Send for PackageMetadata
impl Sync for PackageMetadata
impl Unpin for PackageMetadata
impl UnwindSafe for PackageMetadata
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more