Trait rustiful::JsonApiBuilder [] [src]

pub trait JsonApiBuilder<T> where
    T: Default
{ fn new(model: T) -> Self; fn build(self) -> Result<T, String>; }

A trait for implementing a builder for any Default type.

The implementing type is generated in jsonapi-derive.

Required Methods

Implementors