serde_valid 2.0.1

JSON Schema based validation tool using serde.
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[derive(Debug, Clone)]
pub struct Message {
    pub id: &'static str,
    pub args: Vec<(&'static str, fluent::FluentValue<'static>)>,
}

impl std::fmt::Display for Message {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        self.id.fmt(f)
    }
}