pub struct BuildCommandConfig {
pub precondition: Option<String>,
pub before: Option<StringOrVec>,
pub build: Option<StringOrVec>,
pub build_release: Option<StringOrVec>,
}Fields§
§precondition: Option<String>Shell command that must exit 0 for build to run; skip with warning on failure.
before: Option<StringOrVec>Command(s) to run before the main build commands; aborts on failure.
build: Option<StringOrVec>Command(s) to build in debug mode.
build_release: Option<StringOrVec>Command(s) to build in release mode.
Trait Implementations§
Source§impl Clone for BuildCommandConfig
impl Clone for BuildCommandConfig
Source§fn clone(&self) -> BuildCommandConfig
fn clone(&self) -> BuildCommandConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 BuildCommandConfig
impl Debug for BuildCommandConfig
Source§impl<'de> Deserialize<'de> for BuildCommandConfig
impl<'de> Deserialize<'de> for BuildCommandConfig
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 BuildCommandConfig
impl RefUnwindSafe for BuildCommandConfig
impl Send for BuildCommandConfig
impl Sync for BuildCommandConfig
impl Unpin for BuildCommandConfig
impl UnsafeUnpin for BuildCommandConfig
impl UnwindSafe for BuildCommandConfig
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