pub struct SetupConfig {
pub precondition: Option<String>,
pub before: Option<StringOrVec>,
pub install: Option<StringOrVec>,
pub timeout_seconds: u64,
}Fields§
§precondition: Option<String>Shell command that must exit 0 for setup to run; skip with warning on failure.
before: Option<StringOrVec>Command(s) to run before the main setup commands; aborts on failure.
install: Option<StringOrVec>Command(s) to install dependencies for this language.
timeout_seconds: u64Timeout in seconds for the complete setup (precondition + before + install).
Trait Implementations§
Source§impl Clone for SetupConfig
impl Clone for SetupConfig
Source§fn clone(&self) -> SetupConfig
fn clone(&self) -> SetupConfig
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 SetupConfig
impl Debug for SetupConfig
Source§impl<'de> Deserialize<'de> for SetupConfig
impl<'de> Deserialize<'de> for SetupConfig
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
Source§impl PartialEq for SetupConfig
impl PartialEq for SetupConfig
Source§impl Serialize for SetupConfig
impl Serialize for SetupConfig
impl Eq for SetupConfig
impl StructuralPartialEq for SetupConfig
Auto Trait Implementations§
impl Freeze for SetupConfig
impl RefUnwindSafe for SetupConfig
impl Send for SetupConfig
impl Sync for SetupConfig
impl Unpin for SetupConfig
impl UnsafeUnpin for SetupConfig
impl UnwindSafe for SetupConfig
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