pub struct Filter {
pub include: BTreeSet<Address>,
pub exclude: BTreeSet<Address>,
pub kinds: BTreeSet<Kind>,
pub slots: BTreeSet<B256>,
pub min_balance_delta: Option<U256>,
}Expand description
Selects which accounts and fields of a diff to keep. An empty set means “no restriction”.
Fields§
§include: BTreeSet<Address>§exclude: BTreeSet<Address>§kinds: BTreeSet<Kind>§slots: BTreeSet<B256>§min_balance_delta: Option<U256>Drop balance changes whose absolute delta is below this many wei.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Filter
impl RefUnwindSafe for Filter
impl Send for Filter
impl Sync for Filter
impl Unpin for Filter
impl UnsafeUnpin for Filter
impl UnwindSafe for Filter
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