Skip to main content

Fields

Trait Fields 

Source
pub trait Fields {
    const FIELDS: &'static [(&'static str, &'static str)];
}
Expand description

A struct with named fields (#[derive(Schema)]): each field’s Rust name and its name in files.

Required Associated Constants§

Source

const FIELDS: &'static [(&'static str, &'static str)]

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§