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 image: Option<String>,
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.
image: Option<String>
Image used for the verifiable build
output_type: OutputType
The type of formatting to use for the build output.
Implementations§
source§impl BuildResult
impl BuildResult
Trait Implementations§
source§impl<'de> Deserialize<'de> for BuildResult
impl<'de> Deserialize<'de> for BuildResult
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 BuildResult
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