pub(crate) struct AssetSpec {
pub(crate) package: String,
pub(crate) output: String,
pub(crate) filename: String,
pub(crate) format: String,
pub(crate) variant: String,
pub(crate) required_names: Vec<String>,
}Expand description
An artifact associated with a release unit. A file from a package output, uploaded to the forge release.
Fields§
§package: StringPer-system package output that contains the artifact.
output: StringPath relative to the package output.
filename: StringPublication file name.
format: StringPublication format, such as deb.
variant: StringArtifact variant identifier.
required_names: Vec<String>File names that publication must expose for this artifact.
Implementations§
Trait Implementations§
impl Eq for AssetSpec
impl StructuralPartialEq for AssetSpec
Auto Trait Implementations§
impl Freeze for AssetSpec
impl RefUnwindSafe for AssetSpec
impl Send for AssetSpec
impl Sync for AssetSpec
impl Unpin for AssetSpec
impl UnsafeUnpin for AssetSpec
impl UnwindSafe for AssetSpec
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.