WithRelations

Trait WithRelations 

Source
pub trait WithRelations: Model {
    type Include;
    type Select;
}
Expand description

Trait for models that support eager loading of relations.

Required Associated Types§

Source

type Include

The type of include specification.

Source

type Select

The type of select specification.

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§