Struct rustorm_dao::Rows
source · Expand description
use this to store data retrieved from the database
This is also slimmer than Vec
Fields§
§columns: Vec<String>
§data: Vec<Vec<Value>>
§count: Option<u64>
can be optionally set, indicates how many total rows are there in the table
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Rows
impl<'de> Deserialize<'de> for Rows
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more