pub struct Operand {
pub package: OpaqueHash,
pub exports_root: OpaqueHash,
pub authorizer_hash: OpaqueHash,
pub payload: OpaqueHash,
pub gas: Gas,
pub data: WorkExecResult,
pub auth_output: Vec<u8>,
}Expand description
An operand of the accumulation
NOTE: we are currently following the order of jam-types instead of graypaper.
defined per GP (12.19)
Fields§
§package: OpaqueHash(p) The hash of the work package
exports_root: OpaqueHash(e) The root of the segment tree which was generated by the work-package in which the work-item which gave this result was placed.
(a) The hash of the authorizer which authorized the execution of the work-package which generated this result.
payload: OpaqueHash(y) The payload blob hash
gas: Gas(g) The accumulate gas
data: WorkExecResult(d) The work execution result
auth_output: Vec<u8>(o) The output of the Is-Authorized logic which authorized the execution of the work-package which generated this result.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Operand
impl<'de> Deserialize<'de> for Operand
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 Operand
impl RefUnwindSafe for Operand
impl Send for Operand
impl Sync for Operand
impl Unpin for Operand
impl UnwindSafe for Operand
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