#[non_exhaustive]pub struct PackageBase {Show 16 fields
pub pkgbase: String,
pub pkgver: String,
pub pkgrel: String,
pub epoch: Option<String>,
pub source: ArchVecs,
pub valid_pgp_keys: Vec<String>,
pub no_extract: Vec<String>,
pub md5sums: ArchVecs,
pub sha1sums: ArchVecs,
pub sha224sums: ArchVecs,
pub sha256sums: ArchVecs,
pub sha384sums: ArchVecs,
pub sha512sums: ArchVecs,
pub b2sums: ArchVecs,
pub makedepends: ArchVecs,
pub checkdepends: ArchVecs,
}
Expand description
The fields from a .SRCINFO that only apply to the pkgbase.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.pkgbase: String
§pkgver: String
§pkgrel: String
§epoch: Option<String>
§source: ArchVecs
§valid_pgp_keys: Vec<String>
§no_extract: Vec<String>
§md5sums: ArchVecs
§sha1sums: ArchVecs
§sha224sums: ArchVecs
§sha256sums: ArchVecs
§sha384sums: ArchVecs
§sha512sums: ArchVecs
§b2sums: ArchVecs
§makedepends: ArchVecs
§checkdepends: ArchVecs
Trait Implementations§
Source§impl Clone for PackageBase
impl Clone for PackageBase
Source§fn clone(&self) -> PackageBase
fn clone(&self) -> PackageBase
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PackageBase
impl Debug for PackageBase
Source§impl Default for PackageBase
impl Default for PackageBase
Source§fn default() -> PackageBase
fn default() -> PackageBase
Returns the “default value” for a type. Read more
Source§impl Hash for PackageBase
impl Hash for PackageBase
Source§impl Ord for PackageBase
impl Ord for PackageBase
Source§fn cmp(&self, other: &PackageBase) -> Ordering
fn cmp(&self, other: &PackageBase) -> Ordering
1.21.0 · Source§fn 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
Source§impl PartialEq for PackageBase
impl PartialEq for PackageBase
Source§impl PartialOrd for PackageBase
impl PartialOrd for PackageBase
impl Eq for PackageBase
impl StructuralPartialEq for PackageBase
Auto Trait Implementations§
impl Freeze for PackageBase
impl RefUnwindSafe for PackageBase
impl Send for PackageBase
impl Sync for PackageBase
impl Unpin for PackageBase
impl UnwindSafe for PackageBase
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