Struct svm_lib::Releases [−][src]
Expand description
Defines the struct that the JSON-formatted release list can be deserialized into.
{ “builds”: [ { “version”: “0.8.7”, “sha256”: “0x0xcc5c663d1fe17d4eb4aca09253787ac86b8785235fca71d9200569e662677990” } ] “releases”: { “0.8.7”: “solc-macosx-amd64-v0.8.7+commit.e28d00a7”, “0.8.6”: “solc-macosx-amd64-v0.8.6+commit.11564f7e”, … } }
Both the key and value are deserialized into semver::Version.
Fields
builds: Vec<BuildInfo>
releases: HashMap<Version, String>
Implementations
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 Releases
impl UnwindSafe for Releases
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more