Struct crates_index_diff::CrateVersion [−][src]
pub struct CrateVersion {
pub name: String,
pub kind: ChangeKind,
pub version: String,
pub checksum: String,
pub features: HashMap<String, Vec<String>>,
pub dependencies: Vec<Dependency>,
}Expand description
Pack all information we know about a change made to a version of a crate.
Fields
name: StringThe crate name, i.e. clap.
kind: ChangeKindThe kind of change.
version: StringThe semantic version of the crate.
checksum: StringThe checksum over the crate archive
features: HashMap<String, Vec<String>>All cargo features
dependencies: Vec<Dependency>All crate dependencies
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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for CrateVersion
impl Send for CrateVersion
impl Sync for CrateVersion
impl Unpin for CrateVersion
impl UnwindSafe for CrateVersion
Blanket Implementations
Mutably borrows from an owned value. Read more