Struct crates_index::Version [] [src]

pub struct Version {
    // some 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<StringVec<String>>

fn is_yanked(&self) -> bool

Whether this version was yanked from the index

Trait Implementations

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

impl Decodable for Version
[src]

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Version, __D::Error>