Struct srcinfo::PackageBase
source · pub struct PackageBase {Show 16 fields
pub pkgbase: String,
pub pkgver: String,
pub pkgrel: String,
pub epoch: Option<String>,
pub source: Vec<ArchVec>,
pub valid_pgp_keys: Vec<String>,
pub no_extract: Vec<String>,
pub md5sums: Vec<ArchVec>,
pub sha1sums: Vec<ArchVec>,
pub sha224sums: Vec<ArchVec>,
pub sha256sums: Vec<ArchVec>,
pub sha384sums: Vec<ArchVec>,
pub sha512sums: Vec<ArchVec>,
pub b2sums: Vec<ArchVec>,
pub makedepends: Vec<ArchVec>,
pub checkdepends: Vec<ArchVec>,
}
Expand description
The fields from a .SRCINFO that only apply to the pkgbase.
Fields
pkgbase: String
pkgver: String
pkgrel: String
epoch: Option<String>
source: Vec<ArchVec>
valid_pgp_keys: Vec<String>
no_extract: Vec<String>
md5sums: Vec<ArchVec>
sha1sums: Vec<ArchVec>
sha224sums: Vec<ArchVec>
sha256sums: Vec<ArchVec>
sha384sums: Vec<ArchVec>
sha512sums: Vec<ArchVec>
b2sums: Vec<ArchVec>
makedepends: Vec<ArchVec>
checkdepends: Vec<ArchVec>
Trait Implementations
sourceimpl Clone for PackageBase
impl Clone for PackageBase
sourcefn clone(&self) -> PackageBase
fn clone(&self) -> PackageBase
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PackageBase
impl Debug for PackageBase
sourceimpl Default for PackageBase
impl Default for PackageBase
sourcefn default() -> PackageBase
fn default() -> PackageBase
Returns the “default value” for a type. Read more
sourceimpl Hash for PackageBase
impl Hash for PackageBase
sourceimpl Ord for PackageBase
impl Ord for PackageBase
sourcefn cmp(&self, other: &PackageBase) -> Ordering
fn cmp(&self, other: &PackageBase) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<PackageBase> for PackageBase
impl PartialEq<PackageBase> for PackageBase
sourcefn eq(&self, other: &PackageBase) -> bool
fn eq(&self, other: &PackageBase) -> bool
sourceimpl PartialOrd<PackageBase> for PackageBase
impl PartialOrd<PackageBase> for PackageBase
sourcefn partial_cmp(&self, other: &PackageBase) -> Option<Ordering>
fn partial_cmp(&self, other: &PackageBase) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for PackageBase
impl StructuralEq for PackageBase
impl StructuralPartialEq for PackageBase
Auto Trait Implementations
impl RefUnwindSafe for PackageBase
impl Send for PackageBase
impl Sync for PackageBase
impl Unpin for PackageBase
impl UnwindSafe for PackageBase
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more