Struct cargo_metadata::Dependency
[−]
[src]
pub struct Dependency { pub name: String, pub req: String, // some fields omitted }
A dependency of the main crate
Fields
name: String
Name as given in the Cargo.toml
req: String
Whether this is required or optional
Trait Implementations
impl Clone for Dependency
[src]
fn clone(&self) -> Dependency
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more