Struct crates_index::Dependency
[−]
[src]
pub struct Dependency { /* fields omitted */ }
A single dependency of a specific crate version
Methods
impl Dependency
[src]
fn name(&self) -> &str
fn requirement(&self) -> &str
fn features(&self) -> &[String]
fn is_optional(&self) -> bool
fn has_default_features(&self) -> bool
fn target(&self) -> Option<&str>
fn kind(&self) -> Option<&str>
Trait Implementations
impl Decodable for Dependency
[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Dependency, __D::Error>
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