Skip to main content

QueryElement

Trait QueryElement 

Source
pub trait QueryElement: Sized {
    // Required method
    fn from_entry(entry: &ViewEntry) -> Result<Self, ZeroValueError>;
}
Expand description

A row of a query’s result: a row struct, or a row of group_by or distinct.

Required Methods§

Source

fn from_entry(entry: &ViewEntry) -> Result<Self, ZeroValueError>

Reads the row from a view’s entry.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§