pub struct AurPackage {
pub name: String,
pub version: String,
pub description: String,
pub popularity: Option<f64>,
pub out_of_date: Option<u64>,
pub orphaned: bool,
pub maintainer: Option<String>,
}Expand description
Basic AUR package information from search results.
This is a lightweight representation suitable for lists and search results.
For full package details, see AurPackageDetails.
Fields§
§name: StringCanonical package name.
version: StringVersion string as reported by AUR.
description: StringOne-line description suitable for list display.
popularity: Option<f64>AUR popularity score when available.
out_of_date: Option<u64>Timestamp when package was flagged out-of-date (Unix timestamp in seconds).
orphaned: boolWhether package is orphaned (no active maintainer).
maintainer: Option<String>Package maintainer username (None if orphaned).
Trait Implementations§
Source§impl Clone for AurPackage
impl Clone for AurPackage
Source§fn clone(&self) -> AurPackage
fn clone(&self) -> AurPackage
Returns a duplicate 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 AurPackage
impl Debug for AurPackage
Source§impl<'de> Deserialize<'de> for AurPackage
impl<'de> Deserialize<'de> for AurPackage
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
Source§impl PartialEq for AurPackage
impl PartialEq for AurPackage
Source§impl Serialize for AurPackage
impl Serialize for AurPackage
impl StructuralPartialEq for AurPackage
Auto Trait Implementations§
impl Freeze for AurPackage
impl RefUnwindSafe for AurPackage
impl Send for AurPackage
impl Sync for AurPackage
impl Unpin for AurPackage
impl UnwindSafe for AurPackage
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more