[][src]Trait gotham_restful::ResponseBody

pub trait ResponseBody: ResourceType + Serialize { }

A type that can be used inside a response body. Implemented for every type that is serializable with serde. If the openapi feature is used, it must also be of type OpenapiType.

Implementors

impl<T: ResourceType + Serialize> ResponseBody for T[src]

Loading content...