Struct ethcontract_generate::InsertResult[][src]

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

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.