Trait sewup::kv::traits::value::Value[][src]

pub trait Value: Sized + Serialize + DeserializeOwned {
    fn to_row_value(&self) -> Result<Row> { ... }
fn from_row_value(r: &Row) -> Result<Self> { ... } }
Expand description

helps to serialize struct as Value to row or deserialized from row

| 1st bytes | ...    | padding                   |
|-----------|--------|---------------------------|
| Header    | Binary | padding to n times Byte32 |

Header is the number of bytes for binary

Provided methods

Implementations on Foreign Types

Implementors