pub struct BuildAnswer {
pub command: Option<String>,
pub packages: Option<String>,
pub include: Option<Vec<String>>,
pub exclude: Option<Vec<String>>,
pub verify: Option<String>,
}Expand description
What an automatic bash release ships, and how it proves the package.
The answer of [profile.release.build]. Each key absent reads as its
default, so a target that never answered keeps its record: every
tracked file ships, no command verifies the package, and the release
job installs make.
SATISFIES project-profile:release-intent-has-three-modes
Fields§
§command: Option<String>The retired build command. It is read so a configuration or a record that still carries it refuses with its replacement, and no resolution writes it.
packages: Option<String>The packages the release image installs before it runs the verify command.
include: Option<Vec<String>>Gitignore-style patterns of the tracked files the release ships,
which override exclude, as Cargo’s include does.
exclude: Option<Vec<String>>Gitignore-style patterns of the tracked files the release leaves
out, as Cargo’s exclude does.
verify: Option<String>The command that proves the package builds and installs from its own files, run in the unpacked archive.
Implementations§
Trait Implementations§
Source§impl Clone for BuildAnswer
impl Clone for BuildAnswer
Source§impl Debug for BuildAnswer
impl Debug for BuildAnswer
Source§impl Default for BuildAnswer
impl Default for BuildAnswer
Source§impl<'de> Deserialize<'de> for BuildAnswerwhere
BuildAnswer: Default,
impl<'de> Deserialize<'de> for BuildAnswerwhere
BuildAnswer: Default,
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>,
impl Eq for BuildAnswer
Source§impl PartialEq for BuildAnswer
impl PartialEq for BuildAnswer
Source§impl Serialize for BuildAnswer
impl Serialize for BuildAnswer
impl StructuralPartialEq for BuildAnswer
Auto Trait Implementations§
impl Forget for BuildAnswer
impl Freeze for BuildAnswer
impl Move for BuildAnswer
impl RefUnwindSafe for BuildAnswer
impl Send for BuildAnswer
impl Sync for BuildAnswer
impl Unpin for BuildAnswer
impl UnsafeUnpin for BuildAnswer
impl UnwindSafe for BuildAnswer
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.