Skip to main content

VersionedEntity

Trait VersionedEntity 

Source
pub trait VersionedEntity: Entity {
    // Required method
    fn version(&self) -> i64;
}

Required Methods§

Source

fn version(&self) -> i64

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§