Enum parables_testing::prelude::ethabi::Topic [−][src]
pub enum Topic<T> { Any, OneOf(Vec<T>), This(T), }
Acceptable topic possibilities.
Variants
Any
Match any.
OneOf(Vec<T>)
Match any of the hashes.
This(T)
Match only this hash.
Methods
impl<T> Topic<T>
[src]
impl<T> Topic<T>
Trait Implementations
impl<T> From<Option<T>> for Topic<T>
[src]
impl<T> From<Option<T>> for Topic<T>
impl<T> From<T> for Topic<T>
[src]
impl<T> From<T> for Topic<T>
impl<T> From<Vec<T>> for Topic<T>
[src]
impl<T> From<Vec<T>> for Topic<T>
impl<T> Default for Topic<T>
[src]
impl<T> Default for Topic<T>
impl<T> PartialEq<Topic<T>> for Topic<T> where
T: PartialEq<T>,
[src]
impl<T> PartialEq<Topic<T>> for Topic<T> where
T: PartialEq<T>,
fn eq(&self, other: &Topic<T>) -> bool
[src]
fn eq(&self, other: &Topic<T>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Topic<T>) -> bool
[src]
fn ne(&self, other: &Topic<T>) -> bool
This method tests for !=
.
impl<T> Debug for Topic<T> where
T: Debug,
[src]
impl<T> Debug for Topic<T> where
T: Debug,
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl<T> Into<Vec<T>> for Topic<T>
[src]
impl<T> Into<Vec<T>> for Topic<T>
impl Serialize for Topic<H256>
[src]
impl Serialize for Topic<H256>
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
[src]
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
Serialize this value into the given Serde serializer. Read more