pub struct Pkg<'h> { /* private fields */ }
Implementations§
source§impl<'h> Pkg<'h>
impl<'h> Pkg<'h>
pub fn name(&self) -> &'h str
pub fn check_md5sum(&self) -> Result<()>
pub fn should_ignore(&self) -> bool
pub fn filename(&self) -> &'h str
pub fn base(&self) -> Option<&'h str>
pub fn version(&self) -> &'h Ver
pub fn origin(&self) -> PackageFrom
pub fn desc(&self) -> Option<&'h str>
pub fn url(&self) -> Option<&'h str>
pub fn build_date(&self) -> i64
pub fn install_date(&self) -> Option<i64>
pub fn packager(&self) -> Option<&'h str>
pub fn md5sum(&self) -> Option<&'h str>
pub fn sha256sum(&self) -> Option<&'h str>
pub fn arch(&self) -> Option<&'h str>
pub fn size(&self) -> i64
pub fn isize(&self) -> i64
pub fn reason(&self) -> PackageReason
pub fn validation(&self) -> PackageValidation
pub fn licenses(&self) -> AlpmList<'h, &'h str>
pub fn groups(&self) -> AlpmList<'h, &'h str>
pub fn depends(&self) -> AlpmList<'h, Dep<'h>>
pub fn optdepends(&self) -> AlpmList<'h, Dep<'h>>
pub fn checkdepends(&self) -> AlpmList<'h, Dep<'h>>
pub fn makedepends(&self) -> AlpmList<'h, Dep<'h>>
pub fn conflicts(&self) -> AlpmList<'h, Dep<'h>>
pub fn provides(&self) -> AlpmList<'h, Dep<'h>>
pub fn replaces(&self) -> AlpmList<'h, Dep<'h>>
pub fn files(&self) -> FileList
pub fn backup(&self) -> AlpmList<'h, Backup>
pub fn db(&self) -> Option<Db<'h>>
pub fn changelog(&self) -> Result<ChangeLog<'_>>
pub fn required_by(&self) -> AlpmListMut<'h, String>
pub fn optional_for(&self) -> AlpmListMut<'h, String>
pub fn base64_sig(&self) -> Option<&'h str>
pub fn has_scriptlet(&self) -> bool
pub fn sig(&self) -> Result<Signature>
Trait Implementations§
source§impl<'a> AsAlpmListItemPtr<'a> for Pkg<'a>
impl<'a> AsAlpmListItemPtr<'a> for Pkg<'a>
impl<'h> Copy for Pkg<'h>
impl<'a> IntoRawAlpmList<'a, Pkg<'a>> for AlpmList<'a, LoadedPackage<'a>>
impl<'a> IntoRawAlpmList<'a, Pkg<'a>> for AlpmList<'a, Package<'a>>
impl<'a> Push<'a> for Pkg<'a>
Auto Trait Implementations§
impl<'h> !RefUnwindSafe for Pkg<'h>
impl<'h> !Send for Pkg<'h>
impl<'h> !Sync for Pkg<'h>
impl<'h> Unpin for Pkg<'h>
impl<'h> !UnwindSafe for Pkg<'h>
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