Skip to main content

QueryModel

Trait QueryModel 

Source
pub trait QueryModel: Sized {
    type Fields;

    const KIND: &'static str;

    // Required method
    fn fields(binding: u32) -> Self::Fields;
}
Expand description

A schema model that can produce a typed proxy for one query binding. Implementations are normally generated alongside the registry declaration.

Required Associated Constants§

Source

const KIND: &'static str

Required Associated Types§

Required Methods§

Source

fn fields(binding: u32) -> Self::Fields

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§