Skip to main content

RowMetadata

Trait RowMetadata 

Source
pub trait RowMetadata {
    // Required method
    fn fields() -> &'static [&'static str]
       where Self: Sized;
}
Expand description

Metadata generated by DatabaseRow derive for row structs.

Required Methods§

Source

fn fields() -> &'static [&'static str]
where Self: Sized,

Returns the list of field names for the row.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§