Struct fc_rpc_core::types::FilteredParams[][src]

pub struct FilteredParams {
    pub filter: Option<Filter>,
    // some fields omitted
}

Helper for Filter matching. Supports conditional indexed parameters and wildcards.

Fields

filter: Option<Filter>

Implementations

impl FilteredParams[src]

pub fn new(f: Option<Filter>) -> Self[src]

pub fn replace(
    &self,
    log: &Log,
    topic: VariadicValue<Option<H256>>
) -> Option<Vec<H256>>
[src]

Replace None values - aka wildcards - for the log input value in that position.

pub fn filter_block_range(&self, block_number: u64) -> bool[src]

pub fn filter_block_hash(&self, block_hash: H256) -> bool[src]

pub fn filter_address(&self, log: &Log) -> bool[src]

pub fn filter_topics(&self, log: &Log) -> bool[src]

Trait Implementations

impl Debug for FilteredParams[src]

impl Default for FilteredParams[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,