pub struct Pkg {Show 23 fields
pub name: String,
pub file_name: String,
pub base: String,
pub version: String,
pub desc: String,
pub groups: Vec<String>,
pub c_size: usize,
pub i_size: usize,
pub md5_sum: Vec<u8>,
pub sha256_sum: Vec<u8>,
pub pgp_sig: Option<String>,
pub url: Option<Url>,
pub license: Vec<String>,
pub arch: String,
pub build_date: DateTime<Utc>,
pub packager: String,
pub replaces: Vec<String>,
pub conflicts: Vec<String>,
pub provides: Vec<String>,
pub deps: Vec<Dep>,
pub opt_deps: Vec<OptDep>,
pub check_deps: Vec<Dep>,
pub make_deps: Vec<Dep>,
}Expand description
Represents meta data of a package
Fields§
§name: String§file_name: String§base: String§version: String§desc: String§groups: Vec<String>§c_size: usize§i_size: usize§md5_sum: Vec<u8>§sha256_sum: Vec<u8>§pgp_sig: Option<String>§url: Option<Url>§license: Vec<String>§arch: String§build_date: DateTime<Utc>§packager: String§replaces: Vec<String>§conflicts: Vec<String>§provides: Vec<String>§deps: Vec<Dep>§opt_deps: Vec<OptDep>§check_deps: Vec<Dep>§make_deps: Vec<Dep>Implementations§
Trait Implementations§
impl Eq for Pkg
Source§impl Ord for Pkg
Makes Pkg sortable
impl Ord for Pkg
Makes Pkg sortable
1.21.0 (const: unstable) · 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
Auto Trait Implementations§
impl Freeze for Pkg
impl RefUnwindSafe for Pkg
impl Send for Pkg
impl Sync for Pkg
impl Unpin for Pkg
impl UnsafeUnpin 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