Struct ethcontract_generate::InsertResult
source · pub struct InsertResult<'a> {
pub inserted_contract: ContractMut<'a>,
pub old_contract: Option<Contract>,
}
Expand description
Result of inserting a nre contract into an artifact.
Fields§
§inserted_contract: ContractMut<'a>
Reference to the newly inserted contract.
old_contract: Option<Contract>
If insert operation replaced an old contract, it will appear here.
Auto Trait Implementations§
impl<'a> Freeze for InsertResult<'a>
impl<'a> RefUnwindSafe for InsertResult<'a>
impl<'a> Send for InsertResult<'a>
impl<'a> Sync for InsertResult<'a>
impl<'a> Unpin for InsertResult<'a>
impl<'a> !UnwindSafe for InsertResult<'a>
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