Enum 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: Debug> Debug for Topic<T>
[src]
impl<T: Debug> Debug for Topic<T>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<T: PartialEq> PartialEq for Topic<T>
[src]
impl<T: PartialEq> PartialEq for Topic<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> Default for Topic<T>
[src]
impl<T> Default for Topic<T>
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> Into<Vec<T>> for Topic<T>
[src]
impl<T> Into<Vec<T>> for Topic<T>
impl Serialize for Topic<Hash>
[src]
impl Serialize for Topic<Hash>