pub struct BuildAnswer {
pub command: Option<String>,
pub packages: Option<String>,
}Expand description
How an automatic bash release builds its distribution.
The answer of [profile.release.build]. Each key absent reads as its
default, so a target that never answered keeps its behavior and its
record.
SATISFIES project-profile:release-intent-has-three-modes
Fields§
§command: Option<String>The command that produces dist/*.tar.gz and its .sha256.
packages: Option<String>The packages the release image installs before it runs the command.
Implementations§
Source§impl BuildAnswer
impl BuildAnswer
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>,
Deserialize this value from the given Serde deserializer. Read more
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
Mutably borrows from an owned value. Read more
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
Compare self to
key and return true if they are equal.