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]

Trait Implementations

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

impl Model for Dependency
[src]