Struct crates_io_api::Dependency [−][src]
pub struct Dependency {
pub crate_id: String,
pub default_features: bool,
pub downloads: u64,
pub features: Vec<String>,
pub id: u64,
pub kind: String,
pub optional: bool,
pub req: String,
pub target: Option<String>,
pub version_id: u64,
}Fields
crate_id: String
default_features: bool
downloads: u64
features: Vec<String>
id: u64
kind: String
optional: bool
req: String
target: Option<String>
version_id: u64
Trait Implementations
impl Debug for Dependency[src]
impl Debug for Dependencyfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for Dependency[src]
impl Clone for Dependencyfn clone(&self) -> Dependency[src]
fn clone(&self) -> DependencyReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
Auto Trait Implementations
impl Send for Dependency
impl Send for Dependencyimpl Sync for Dependency
impl Sync for Dependency