Skip to main content

Table

Trait Table 

Source
pub trait Table {
    // Required methods
    fn schema() -> Result<Schema, SchemaError>;
    fn values(self) -> Vec<RawValue>;
}

Required Methods§

Source

fn schema() -> Result<Schema, SchemaError>

The columns and key of the table.

Source

fn values(self) -> Vec<RawValue>

One row, in the order of the schema columns.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§