Struct crates_index::Version
[−]
[src]
pub struct Version { /* fields omitted */ }
A single version of a crate published to the index
Methods
impl Version
[src]
fn name(&self) -> &str
Name of the crate
fn version(&self) -> &str
Name of this version
fn dependencies(&self) -> &[Dependency]
Dependencies for this version
fn checksum(&self) -> &str
Checksum of the package for this version
fn features(&self) -> &HashMap<String, Vec<String>>
fn is_yanked(&self) -> bool
Whether this version was yanked from the index
Trait Implementations
impl Decodable for Version
[src]
impl Clone for Version
[src]
fn clone(&self) -> Version
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