dotavious 0.2.1

A library for generating Graphviz DOT language files for graphs.
Documentation
1
2
3
4
5
6
7
8
9
use std::borrow::Cow;

pub type ValidationResult<T> = std::result::Result<T, Vec<ValidationError>>;

#[derive(Debug, PartialEq, Clone)]
pub struct ValidationError {
    pub message: Cow<'static, str>,
    pub field: Cow<'static, str>,
}