pub struct ArtifactDesc {
pub url: String,
pub archive: String,
pub sha256: String,
pub bin: Vec<String>,
pub strip: u32,
}Expand description
What a resolve(version, os, arch) hook returns for one platform.
Fields§
§url: String§archive: Stringtar.gz / tgz / zip / raw.
sha256: String§bin: Vec<String>Executables to expose (relative to the laid-out tree).
strip: u32Leading path components to strip on extraction.
Trait Implementations§
Source§impl Clone for ArtifactDesc
impl Clone for ArtifactDesc
Source§fn clone(&self) -> ArtifactDesc
fn clone(&self) -> ArtifactDesc
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ArtifactDesc
impl Debug for ArtifactDesc
Source§impl PartialEq for ArtifactDesc
impl PartialEq for ArtifactDesc
Source§fn eq(&self, other: &ArtifactDesc) -> bool
fn eq(&self, other: &ArtifactDesc) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ArtifactDesc
Auto Trait Implementations§
impl Freeze for ArtifactDesc
impl RefUnwindSafe for ArtifactDesc
impl Send for ArtifactDesc
impl Sync for ArtifactDesc
impl Unpin for ArtifactDesc
impl UnsafeUnpin for ArtifactDesc
impl UnwindSafe for ArtifactDesc
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