csdb 0.1.5

wrap for ceresdb-client-rs
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::Val;

pub struct ValLi(pub Vec<Val>);

impl From<()> for ValLi {
  fn from(_: ()) -> Self {
    ValLi(vec![])
  }
}

impl<T: Into<Val>> From<T> for ValLi {
  fn from(t: T) -> Self {
    ValLi(vec![t.into()])
  }
}