pub struct AccumulateArgs {
pub context: AccumulateState,
pub timeslot: TimeSlot,
pub service: ServiceId,
pub gas: Gas,
pub operands: Vec<Operand>,
}Expand description
Arguments for the accumulate invocation
Fields§
§context: AccumulateState(U) The state context
timeslot: TimeSlot(N_t) timeslot for the current accumulation
service: ServiceId(N_s) the service id of the caller
gas: Gas(N_g) the gas limit for the current operation
operands: Vec<Operand>(O) the accumulation operands
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AccumulateArgs
impl<'de> Deserialize<'de> for AccumulateArgs
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AccumulateArgs
impl RefUnwindSafe for AccumulateArgs
impl Send for AccumulateArgs
impl Sync for AccumulateArgs
impl Unpin for AccumulateArgs
impl UnwindSafe for AccumulateArgs
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