pub struct Package {Show 15 fields
pub pkgname: String,
pub pkgdesc: Option<String>,
pub arch: Vec<String>,
pub url: Option<String>,
pub license: Vec<String>,
pub groups: Vec<String>,
pub depends: Vec<ArchVec>,
pub optdepends: Vec<ArchVec>,
pub provides: Vec<ArchVec>,
pub conflicts: Vec<ArchVec>,
pub replaces: Vec<ArchVec>,
pub backup: Vec<String>,
pub options: Vec<String>,
pub install: Option<String>,
pub changelog: Option<String>,
}
Expand description
The fields from a .SRCINFO that are unique to each package.
Fields§
§pkgname: String
§pkgdesc: Option<String>
§arch: Vec<String>
§url: Option<String>
§license: Vec<String>
§groups: Vec<String>
§depends: Vec<ArchVec>
§optdepends: Vec<ArchVec>
§provides: Vec<ArchVec>
§conflicts: Vec<ArchVec>
§replaces: Vec<ArchVec>
§backup: Vec<String>
§options: Vec<String>
§install: Option<String>
§changelog: Option<String>
Trait Implementations§
Source§impl Ord for Package
impl Ord for Package
Source§impl PartialOrd for Package
impl PartialOrd for Package
impl Eq for Package
impl StructuralPartialEq for Package
Auto Trait Implementations§
impl Freeze for Package
impl RefUnwindSafe for Package
impl Send for Package
impl Sync for Package
impl Unpin for Package
impl UnwindSafe for Package
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)