Skip to main content

IEntitySnapshot

Trait IEntitySnapshot 

Source
pub trait IEntitySnapshot: IEntityType {
    // Required method
    fn snapshot(&self) -> HashMap<String, DbValue>;
}
Expand description

Extracts all scalar property values from an entity for INSERT/UPDATE.

Auto-generated by #[derive(EntityType)].

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§