pub struct Accumulated {
pub context: AccumulateState,
pub transfers: Vec<DeferredTransfer>,
pub hash: Option<OpaqueHash>,
pub gas: Gas,
pub reason: Reason,
}Expand description
The accumulated result
Fields§
§context: AccumulateState(o) The state context
transfers: Vec<DeferredTransfer>(t) The timeslot for the current accumulation
hash: Option<OpaqueHash>(b) The output hash of the accumulation
gas: Gas(u) The gas used
reason: Reason(_e) The reason for the accumulation
Trait Implementations§
Source§impl Clone for Accumulated
impl Clone for Accumulated
Source§fn clone(&self) -> Accumulated
fn clone(&self) -> Accumulated
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Accumulated
impl Debug for Accumulated
Source§impl<'de> Deserialize<'de> for Accumulated
impl<'de> Deserialize<'de> for Accumulated
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
Source§impl PartialEq for Accumulated
impl PartialEq for Accumulated
Source§impl Serialize for Accumulated
impl Serialize for Accumulated
impl Eq for Accumulated
impl StructuralPartialEq for Accumulated
Auto Trait Implementations§
impl Freeze for Accumulated
impl RefUnwindSafe for Accumulated
impl Send for Accumulated
impl Sync for Accumulated
impl Unpin for Accumulated
impl UnwindSafe for Accumulated
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