pub struct Artifact {
pub location: String,
pub sha256: String,
pub uncompressed_sha256: Option<String>,
pub signature: Option<String>,
}Expand description
A downloadable artifact with a URL and detached signature.
Fields§
§location: StringThe URL for this artifact.
sha256: StringSHA-256 checksum.
uncompressed_sha256: Option<String>If the artifact is compressed, this is the uncompressed SHA-256.
signature: Option<String>Detached GPG signature.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Artifact
impl<'de> Deserialize<'de> for Artifact
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
Auto Trait Implementations§
impl Freeze for Artifact
impl RefUnwindSafe for Artifact
impl Send for Artifact
impl Sync for Artifact
impl Unpin for Artifact
impl UnwindSafe for Artifact
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