Trait light_magic::table::FirstField

source ·
pub trait FirstField {
    type FieldType: Clone;

    // Required method
    fn first_field(&self) -> &Self::FieldType;
}
Expand description

Trait for getting the value of the first field, filled in db macro

Required Associated Types§

Required Methods§

source

fn first_field(&self) -> &Self::FieldType

Implementors§