pub struct BuildInfo {
pub archive_hash: Hash,
pub source_link: Option<String>,
pub image: String,
pub build_command: Vec<String>,
}Expand description
The build information that will be embedded as a custom section to support reproducible builds.
Fields§
§archive_hash: HashThe SHA256 hash of the tar file used to build. Note that this is the hash of the tar file alone, not of any compressed version.
source_link: Option<String>The link to where the source code will be located.
image: StringThe build image that was used.
build_command: Vec<String>The exact command invocation inside the image that was used to produce the contract.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BuildInfo
impl RefUnwindSafe for BuildInfo
impl Send for BuildInfo
impl Sync for BuildInfo
impl Unpin for BuildInfo
impl UnwindSafe for BuildInfo
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