pub struct CleanConfig {
pub precondition: Option<String>,
pub before: Option<StringOrVec>,
pub clean: Option<StringOrVec>,
}Fields§
§precondition: Option<String>Shell command that must exit 0 for clean to run; skip with warning on failure.
before: Option<StringOrVec>Command(s) to run before the main clean commands; aborts on failure.
clean: Option<StringOrVec>Command(s) to clean build artifacts for this language.
Trait Implementations§
Source§impl Clone for CleanConfig
impl Clone for CleanConfig
Source§fn clone(&self) -> CleanConfig
fn clone(&self) -> CleanConfig
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 CleanConfig
impl Debug for CleanConfig
Source§impl<'de> Deserialize<'de> for CleanConfig
impl<'de> Deserialize<'de> for CleanConfig
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 CleanConfig
impl RefUnwindSafe for CleanConfig
impl Send for CleanConfig
impl Sync for CleanConfig
impl Unpin for CleanConfig
impl UnsafeUnpin for CleanConfig
impl UnwindSafe for CleanConfig
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