Enum ethabi::Topic [] [src]

pub enum Topic<T> {
    Any,
    OneOf(Vec<T>),
    This(T),
}

Acceptable topic possibilities.

Variants

Match any.

Match any of the hashes.

Match only this hash.

Methods

impl<T> Topic<T>
[src]

[src]

Map

Trait Implementations

impl<T: Debug> Debug for Topic<T>
[src]

[src]

Formats the value using the given formatter.

impl<T: PartialEq> PartialEq for Topic<T>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<T> Default for Topic<T>
[src]

[src]

Returns the "default value" for a type. Read more

impl<T> From<Option<T>> for Topic<T>
[src]

[src]

Performs the conversion.

impl<T> From<T> for Topic<T>
[src]

[src]

Performs the conversion.

impl<T> From<Vec<T>> for Topic<T>
[src]

[src]

Performs the conversion.

impl<T> Into<Vec<T>> for Topic<T>
[src]

[src]

Performs the conversion.

impl Serialize for Topic<Hash>
[src]

[src]

Serialize this value into the given Serde serializer. Read more