rustiful 0.1.0

This crate is for creating a JSONAPI backend, backed by Iron.
1
2
3
4
5
6
7
8
9
use serde::ser::Serialize;

pub trait ToJson {
    type Attrs: Clone + Serialize;

    fn id(&self) -> String;

    fn type_name(&self) -> String;
}