Trait evident::event::Id

source ·
pub trait Id: Debug + Default + Clone + Hash + PartialEq + Eq + Send + Sync + 'static { }
Expand description

Trait that must be implemented for a custom evident ID.
This implementation must then be used for implementations of the traits EventEntry and IntermediaryEvent.
All implementations are needed to create an evident publisher using the create_static_publisher!() macro.

The optional Filter trait must also use the same implementation of this Id trait.

[req:event.id], [req:event.id.generic]

Implementors§