TableRow

Trait TableRow 

Source
pub trait TableRow {
    // Required methods
    fn get_fields() -> Vec<&'static str>;
    fn get_field_types() -> Vec<&'static str>;

    // Provided method
    fn field_count() -> usize { ... }
}

Required Methods§

Source

fn get_fields() -> Vec<&'static str>

Returns a vector containing the names of the fields

Source

fn get_field_types() -> Vec<&'static str>

Returns a vector containing the types of the fields

Provided Methods§

Source

fn field_count() -> usize

Returns the amount of fields in this struct

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§