Struct libtmplgen::types::PkgInfo
source · pub struct PkgInfo {
pub pkg_name: String,
pub version: String,
pub description: String,
pub homepage: String,
pub license: Vec<String>,
pub dependencies: Option<Dependencies>,
pub sha: String,
pub download_url: Option<String>,
}
Expand description
The PkgInfo struct, that contains all info relevant to the package
Fields§
§pkg_name: String
§version: String
§description: String
§homepage: String
§license: Vec<String>
§dependencies: Option<Dependencies>
§sha: String
§download_url: Option<String>
Trait Implementations§
source§impl Ord for PkgInfo
impl Ord for PkgInfo
source§impl PartialOrd<PkgInfo> for PkgInfo
impl PartialOrd<PkgInfo> for PkgInfo
1.0.0 · source§fn 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 PkgInfo
impl StructuralEq for PkgInfo
impl StructuralPartialEq for PkgInfo
Auto Trait Implementations§
impl RefUnwindSafe for PkgInfo
impl Send for PkgInfo
impl Sync for PkgInfo
impl Unpin for PkgInfo
impl UnwindSafe for PkgInfo
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.