pub struct LogSelection {
pub address: Vec<Address>,
pub address_filter: Option<FilterWrapper>,
pub topics: ArrayVec<Vec<LogArgument>, 4>,
}
Fields§
§address: Vec<Address>
Address of the contract, any logs that has any of these addresses will be returned. Empty means match all.
address_filter: Option<FilterWrapper>
§topics: ArrayVec<Vec<LogArgument>, 4>
Topics to match, each member of the top level array is another array, if the nth topic matches any topic specified in nth element of topics, the log will be returned. Empty means match all.
Trait Implementations§
Source§impl Clone for LogSelection
impl Clone for LogSelection
Source§fn clone(&self) -> LogSelection
fn clone(&self) -> LogSelection
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 LogSelection
impl Debug for LogSelection
Source§impl Default for LogSelection
impl Default for LogSelection
Source§fn default() -> LogSelection
fn default() -> LogSelection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LogSelection
impl<'de> Deserialize<'de> for LogSelection
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
Source§impl PartialEq for LogSelection
impl PartialEq for LogSelection
Source§impl Serialize for LogSelection
impl Serialize for LogSelection
impl StructuralPartialEq for LogSelection
Auto Trait Implementations§
impl Freeze for LogSelection
impl !RefUnwindSafe for LogSelection
impl Send for LogSelection
impl Sync for LogSelection
impl Unpin for LogSelection
impl !UnwindSafe for LogSelection
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