pub struct PackageDetails {Show 22 fields
pub repository: String,
pub name: String,
pub version: String,
pub description: String,
pub architecture: String,
pub url: String,
pub licenses: Vec<String>,
pub groups: Vec<String>,
pub provides: Vec<String>,
pub depends: Vec<String>,
pub opt_depends: Vec<String>,
pub required_by: Vec<String>,
pub optional_for: Vec<String>,
pub conflicts: Vec<String>,
pub replaces: Vec<String>,
pub download_size: Option<u64>,
pub install_size: Option<u64>,
pub owner: String,
pub build_date: String,
pub popularity: Option<f64>,
pub out_of_date: Option<u64>,
pub orphaned: bool,
}Expand description
Full set of details for a package, suitable for a dedicated information pane.
Fields§
§repository: StringRepository name (e.g., “extra”).
name: StringPackage name.
version: StringFull version string.
description: StringLong description.
architecture: StringTarget architecture.
url: StringUpstream project URL (may be empty if unknown).
licenses: Vec<String>SPDX or human-readable license identifiers.
groups: Vec<String>Group memberships.
provides: Vec<String>Virtual provisions supplied by this package.
depends: Vec<String>Required dependencies.
opt_depends: Vec<String>Optional dependencies with annotations.
required_by: Vec<String>Packages that require this package.
optional_for: Vec<String>Packages for which this package is optional.
conflicts: Vec<String>Conflicting packages.
replaces: Vec<String>Packages that this package replaces.
download_size: Option<u64>Download size in bytes, if available.
install_size: Option<u64>Installed size in bytes, if available.
owner: StringPackager or maintainer name.
build_date: StringBuild or packaging date (string-formatted for display).
popularity: Option<f64>AUR popularity score when available (AUR only).
out_of_date: Option<u64>Timestamp when package was flagged out-of-date (AUR only).
orphaned: boolWhether package is orphaned (no active maintainer) (AUR only).
Trait Implementations§
Source§impl Clone for PackageDetails
impl Clone for PackageDetails
Source§fn clone(&self) -> PackageDetails
fn clone(&self) -> PackageDetails
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PackageDetails
impl Debug for PackageDetails
Source§impl Default for PackageDetails
impl Default for PackageDetails
Source§fn default() -> PackageDetails
fn default() -> PackageDetails
Source§impl<'de> Deserialize<'de> for PackageDetails
impl<'de> Deserialize<'de> for PackageDetails
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>,
Auto Trait Implementations§
impl Freeze for PackageDetails
impl RefUnwindSafe for PackageDetails
impl Send for PackageDetails
impl Sync for PackageDetails
impl Unpin for PackageDetails
impl UnsafeUnpin for PackageDetails
impl UnwindSafe for PackageDetails
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more