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: PathBuf
Path to the directory where output files are written to.
optimization_result: Option<OptimizationResult>
If existent the result of the optimization.
build_mode: BuildMode
The mode to build the contract in.
build_artifact: BuildArtifacts
Which build artifacts were generated.
verbosity: Verbosity
The verbosity flags.
output_type: OutputType
The type of formatting to use for the build output.
Implementations§
source§impl BuildResult
impl BuildResult
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for BuildResult
impl Send for BuildResult
impl Sync for BuildResult
impl Unpin for BuildResult
impl UnwindSafe for BuildResult
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