[][src]Struct cargo_deny::KrateDetails

pub struct KrateDetails {
    pub name: String,
    pub id: PackageId,
    pub version: Version,
    pub source: Option<Source>,
    pub authors: Vec<String>,
    pub repository: Option<String>,
    pub description: Option<String>,
    pub manifest_path: PathBuf,
    pub license: Option<String>,
    pub license_file: Option<PathBuf>,
    pub deps: Vec<Dependency>,
    pub features: HashMap<String, Vec<String>>,
    pub targets: Vec<Target>,
}

Fields

name: Stringid: PackageIdversion: Versionsource: Option<Source>authors: Vec<String>repository: Option<String>description: Option<String>manifest_path: PathBuflicense: Option<String>license_file: Option<PathBuf>deps: Vec<Dependency>features: HashMap<String, Vec<String>>targets: Vec<Target>

Methods

impl KrateDetails[src]

pub fn new(pkg: Package) -> Self[src]

Trait Implementations

impl Eq for KrateDetails[src]

impl Ord for KrateDetails[src]

impl PartialEq<KrateDetails> for KrateDetails[src]

impl PartialOrd<KrateDetails> for KrateDetails[src]

impl Debug for KrateDetails[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]