Struct cargo_registry::dependency::Dependency [] [src]

pub struct Dependency {
    pub id: i32,
    pub version_id: i32,
    pub crate_id: i32,
    pub req: VersionReq,
    pub optional: bool,
    pub default_features: bool,
    pub features: Vec<String>,
    pub target: Option<String>,
    pub kind: Kind,
}

Fields

Methods

impl Dependency
[src]

[src]

Trait Implementations

impl HasTable for Dependency

impl<'ident> Identifiable for &'ident Dependency

impl BelongsTo<Version> for Dependency

impl BelongsTo<Crate> for Dependency

impl Debug for Dependency
[src]

[src]

Formats the value using the given formatter.

impl Queryable<SqlType, Pg> for Dependency
[src]

[src]