pub struct DatalakeComputeCompilationResults {
pub pre_processable: bool,
pub commit_results_maps: HashMap<B256, U256>,
pub headers: HashSet<ProcessedHeader>,
pub accounts: HashSet<ProcessedAccount>,
pub storages: HashSet<ProcessedStorage>,
pub transactions: HashSet<ProcessedTransaction>,
pub transaction_receipts: HashSet<ProcessedReceipt>,
pub mmr_meta: MMRMeta,
}
Fields§
§pre_processable: bool
flag to check if the aggregation function is pre-processable
commit_results_maps: HashMap<B256, U256>
task_commitment -> value
headers: HashSet<ProcessedHeader>
Headers related to the datalake
accounts: HashSet<ProcessedAccount>
Accounts related to the datalake
storages: HashSet<ProcessedStorage>
Storages related to the datalake
transactions: HashSet<ProcessedTransaction>
Transactions related to the datalake
transaction_receipts: HashSet<ProcessedReceipt>
Transaction receipts related to the datalake
mmr_meta: MMRMeta
MMR meta data related to the headers
Implementations§
source§impl DatalakeComputeCompilationResults
impl DatalakeComputeCompilationResults
pub fn new( pre_processable: bool, commit_results_maps: HashMap<B256, U256>, headers: HashSet<ProcessedHeader>, accounts: HashSet<ProcessedAccount>, storages: HashSet<ProcessedStorage>, transactions: HashSet<ProcessedTransaction>, transaction_receipts: HashSet<ProcessedReceipt>, mmr_meta: MMRMeta, ) -> Self
Auto Trait Implementations§
impl Freeze for DatalakeComputeCompilationResults
impl RefUnwindSafe for DatalakeComputeCompilationResults
impl Send for DatalakeComputeCompilationResults
impl Sync for DatalakeComputeCompilationResults
impl Unpin for DatalakeComputeCompilationResults
impl UnwindSafe for DatalakeComputeCompilationResults
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more