pub struct EvmContractEventsTemplate {
pub contracts: Vec<String>,
pub event_hashes: Option<Vec<String>>,
}Expand description
Template arguments for filtering EVM contract events, optionally scoped to a specific set of event topic hashes.
Fields§
§contracts: Vec<String>Contract addresses to watch for events.
event_hashes: Option<Vec<String>>Optional list of event topic hashes to restrict the filter to specific events.
Trait Implementations§
Source§impl Clone for EvmContractEventsTemplate
impl Clone for EvmContractEventsTemplate
Source§fn clone(&self) -> EvmContractEventsTemplate
fn clone(&self) -> EvmContractEventsTemplate
Returns a duplicate 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 EvmContractEventsTemplate
impl Debug for EvmContractEventsTemplate
Source§impl<'de> Deserialize<'de> for EvmContractEventsTemplate
impl<'de> Deserialize<'de> for EvmContractEventsTemplate
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EvmContractEventsTemplate
impl RefUnwindSafe for EvmContractEventsTemplate
impl Send for EvmContractEventsTemplate
impl Sync for EvmContractEventsTemplate
impl Unpin for EvmContractEventsTemplate
impl UnsafeUnpin for EvmContractEventsTemplate
impl UnwindSafe for EvmContractEventsTemplate
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