pub enum DataLakeCommands {
BlockSampled {
block_range_start: BlockNumber,
block_range_end: BlockNumber,
sampled_property: BlockSampledCollection,
increment: u64,
},
TransactionsInBlock {
target_block: BlockNumber,
sampled_property: TransactionsCollection,
start_index: TxIndex,
end_index: TxIndex,
increment: u64,
included_types: IncludedTypes,
},
}Variants§
BlockSampled
Fields
§
block_range_start: BlockNumberBlock number range start (inclusive)
§
block_range_end: BlockNumberBlock number range end (inclusive)
§
sampled_property: BlockSampledCollectionSampled property e.g. “header.number”, “account.0xaccount.balance”, “storage.0xcontract.0xstoragekey”
TransactionsInBlock
Fields
§
target_block: BlockNumberTarget block number
§
sampled_property: TransactionsCollectionSampled property Fields from transaction: “chain_id”, “gas_price”… etc Fields from transaction receipt: “cumulative_gas_used”.. etc
§
included_types: IncludedTypesFilter out the specific type of Txs Each byte represents a type of transaction to be included in the datalake e.g 1,0,1,0 -> include legacy, exclude eip2930, include eip1559, exclude eip4844
Trait Implementations§
Source§impl Clone for DataLakeCommands
impl Clone for DataLakeCommands
Source§fn clone(&self) -> DataLakeCommands
fn clone(&self) -> DataLakeCommands
Returns a copy 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 DataLakeCommands
impl Debug for DataLakeCommands
Source§impl FromArgMatches for DataLakeCommands
impl FromArgMatches for DataLakeCommands
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§impl PartialEq for DataLakeCommands
impl PartialEq for DataLakeCommands
Source§impl Subcommand for DataLakeCommands
impl Subcommand for DataLakeCommands
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Source§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether
Self can parse a specific subcommandimpl Eq for DataLakeCommands
impl StructuralPartialEq for DataLakeCommands
Auto Trait Implementations§
impl Freeze for DataLakeCommands
impl RefUnwindSafe for DataLakeCommands
impl Send for DataLakeCommands
impl Sync for DataLakeCommands
impl Unpin for DataLakeCommands
impl UnwindSafe for DataLakeCommands
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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