interstice_abi/interstice_value/
row.rs1use crate::{IntersticeValue, Row};
2
3impl IntersticeValue {
4 pub fn from_row(row: &Row) -> Self {
5 let mut values = Vec::with_capacity(1 + row.entries.len());
6 values.push(row.primary_key.clone());
7 values.extend_from_slice(&row.entries);
8 IntersticeValue::Vec(values)
9 }
10}