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