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