nautilus_model::data

Function to_variant

Source
pub fn to_variant<T: TryFrom<Data>>(data: Vec<Data>) -> Vec<T>