Skip to main content

ToRow

Trait ToRow 

Source
pub trait ToRow {
    // Required method
    fn to_row(&self) -> Vec<(&'static str, Value)>;
}
Expand description

将实体转换为数据库行

Required Methods§

Source

fn to_row(&self) -> Vec<(&'static str, Value)>

转换为列名和值的列表

Implementors§