pub struct Candidate {
pub source: Source,
pub version: String,
pub git_ref: String,
pub asset_url: String,
pub sha256: Option<String>,
pub bin_sha256: Option<String>,
}Expand description
A build that could replace the running binary.
Fields§
§source: Source§version: StringCrate version the build reports (0.69.1).
git_ref: StringGit ref that identifies the build for ancestry: a release tag (v0.69.1)
or a nightly’s green_sha.
asset_url: StringDownload URL of the tarball.
sha256: Option<String>Expected sha256 of the tarball, when the source states it inline (the
nightly manifest does). A release publishes it as <asset>.sha256.
bin_sha256: Option<String>Expected sha256 of the extracted executable (nightly manifest only).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Candidate
impl<'de> Deserialize<'de> for Candidate
Source§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
impl Eq for Candidate
impl StructuralPartialEq for Candidate
Auto Trait Implementations§
impl Freeze for Candidate
impl RefUnwindSafe for Candidate
impl Send for Candidate
impl Sync for Candidate
impl Unpin for Candidate
impl UnsafeUnpin for Candidate
impl UnwindSafe for Candidate
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more