pub(crate) fn get_vec_element_type(
    collection_type: &Type
) -> Result<Type, Error>