Trait Eventable

Source
pub trait Eventable<T, PT: Clone>:
    Partial<Item = PT>
    + Serialize
    + DeserializeOwned
    + Clone
    + Send
    + Sync
    + Sized {
    type T;

    // Required methods
    fn id(&self) -> String;
    fn hash(&self) -> String;
    fn entity_name(&self) -> String;
}

Required Associated Types§

Source

type T

Required Methods§

Source

fn id(&self) -> String

Source

fn hash(&self) -> String

Source

fn entity_name(&self) -> String

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§