pub struct ScriptResult {
pub env_vars: HashMap<String, String>,
pub success: bool,
pub error: Option<String>,
pub pre_build_continue: bool,
pub post_build_output: Option<String>,
pub features: HashMap<String, bool>,
pub workbench: Option<String>,
}Fields§
§env_vars: HashMap<String, String>Environment variables generated by the script
success: boolWhether the script executed successfully
error: Option<String>Error message if execution failed
pre_build_continue: boolWhether to continue with pre-build steps
post_build_output: Option<String>Output from post-build steps
features: HashMap<String, bool>Feature flags generated by the script
workbench: Option<String>Workbench type recommended by the script
Trait Implementations§
Source§impl Clone for ScriptResult
impl Clone for ScriptResult
Source§fn clone(&self) -> ScriptResult
fn clone(&self) -> ScriptResult
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 moreAuto Trait Implementations§
impl Freeze for ScriptResult
impl RefUnwindSafe for ScriptResult
impl Send for ScriptResult
impl Sync for ScriptResult
impl Unpin for ScriptResult
impl UnwindSafe for ScriptResult
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