Trait tendermint::abci::EventAttributeIndexExt

source ·
pub trait EventAttributeIndexExt: Sealed {
    type Key;
    type Value;

    // Required methods
    fn index(self) -> (Self::Key, Self::Value, bool);
    fn no_index(self) -> (Self::Key, Self::Value, bool);
}
Expand description

Adds convenience methods to tuples for more ergonomic EventAttribute construction.

See Event::new for details.

Required Associated Types§

Required Methods§

source

fn index(self) -> (Self::Key, Self::Value, bool)

Indicate that this key/value pair should be indexed by Tendermint.

source

fn no_index(self) -> (Self::Key, Self::Value, bool)

Indicate that this key/value pair should not be indexed by Tendermint.

Implementations on Foreign Types§

source§

impl<K: Into<String>, V: Into<String>> EventAttributeIndexExt for (K, V)

§

type Key = K

§

type Value = V

source§

fn index(self) -> (K, V, bool)

source§

fn no_index(self) -> (K, V, bool)

Implementors§