Skip to main content

Selectable

Trait Selectable 

Source
pub trait Selectable<S: Schema>: Sealed + Copy {
    type Output;
}
Expand description

Sealed resolution from one selected binding to its typed query output.

Required Associated Types§

Source

type Output

The materialized output type for one selected row.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<S: Schema, M: ThingModel<Schema = S> + CompleteModel> Selectable<S> for Binding<S, M, Exact>

Source§

impl<S: Schema, M: ThingModel<Schema = S> + SubtypeRootModel> Selectable<S> for Binding<S, M, Subtypes>

Source§

type Output = <M as SubtypeRootModel>::Subtypes