tendermint::abci

Trait 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)

Source§

type Key = K

Source§

type Value = V

Source§

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

Source§

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

Implementors§