Struct contract_build::BuildResult
source · pub struct BuildResult {
pub dest_wasm: Option<PathBuf>,
pub metadata_result: Option<MetadataArtifacts>,
pub target_directory: PathBuf,
pub optimization_result: Option<OptimizationResult>,
pub build_mode: BuildMode,
pub build_artifact: BuildArtifacts,
pub verbosity: Verbosity,
pub output_type: OutputType,
}Expand description
Result of the build process.
Fields§
§dest_wasm: Option<PathBuf>Path to the resulting Wasm file.
metadata_result: Option<MetadataArtifacts>Result of the metadata generation.
target_directory: PathBufPath to the directory where output files are written to.
optimization_result: Option<OptimizationResult>If existent the result of the optimization.
build_mode: BuildModeThe mode to build the contract in.
build_artifact: BuildArtifactsWhich build artifacts were generated.
verbosity: VerbosityThe verbosity flags.
output_type: OutputTypeThe type of formatting to use for the build output.