Struct crates_index::Crate [−][src]
pub struct Crate { /* fields omitted */ }
Expand description
A single crate that contains many published versions
Implementations
Parse the file with crate versions.
The file must contain at least one version.
Published versions of this crate sorted chronologically by date published
Oldest version.
Warning: may not be the lowest version number.
Most recently published version. Warning: may not be the highest version.
Returns the highest version as per semantic versioning specification, including unstable versions.
Returns the highest version as per semantic versioning specification, filtering out versions with pre-release identifiers.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Crate
impl UnwindSafe for Crate
Blanket Implementations
Mutably borrows from an owned value. Read more