pub struct Recompute {
pub descriptor: Option<Vec<u8>>,
pub inputs: BTreeMap<String, Vec<u8>>,
pub value: Scalar,
}Expand description
What step 7 needs, supplied by the caller (this crate does not evaluate functions or fetch anything).
Fields§
§descriptor: Option<Vec<u8>>The descriptor JSON text for cell.fn_hash; None is E_FN_UNAVAILABLE.
inputs: BTreeMap<String, Vec<u8>>Input receipts as JSON text, keyed by the receipt hash they were offered for.
value: ScalarThe result of evaluating the function (for stored: the value looked up as of asof).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Recompute
impl RefUnwindSafe for Recompute
impl Send for Recompute
impl Sync for Recompute
impl Unpin for Recompute
impl UnsafeUnpin for Recompute
impl UnwindSafe for Recompute
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