pub struct InitInvocation<'a> {
pub amount: u64,
pub init_name: &'a str,
pub parameter: Parameter<'a>,
pub energy: InterpreterEnergy,
}Expand description
Collection of information relevant to invoke an init-function.
Fields§
§amount: u64The amount included in the transaction.
init_name: &'a strThe name of the init function to invoke.
parameter: Parameter<'a>A parameter to provide the init function.
energy: InterpreterEnergyThe limit on the energy to be used for execution.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for InitInvocation<'a>
impl<'a> RefUnwindSafe for InitInvocation<'a>
impl<'a> Send for InitInvocation<'a>
impl<'a> Sync for InitInvocation<'a>
impl<'a> Unpin for InitInvocation<'a>
impl<'a> UnwindSafe for InitInvocation<'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