Trait otter_sql::table::RowLike

source ·
pub trait RowLike {
    fn data(self) -> Vec<Value>;
    fn data_shared(&self) -> Vec<&Value>;
}
Expand description

Trait to retrieve data from something that looks like a row in a table.

Required Methods§

Copy or move of the data contained in the row.

Whether the operation is a copy or move depends on whether the row is a reference to a row in a table or is an actual row in a table.

References to all values contained in the row.

Implementors§