Trait mentat_query_projector::BindingTuple
[−]
[src]
pub trait BindingTuple: Sized { fn from_binding_vec(
expected: usize,
vec: Option<Vec<Binding>>
) -> Result<Option<Self>>; }
A BindingTuple
is any type that can accommodate a Mentat tuple query result of fixed length.
Currently Rust tuples of length 1 through 6 (i.e., (A)
through (A, B, C, D, E, F)
) are
supported as are vectors (i.e., Vec<>
).