[][src]Trait rweb::openapi::ResponseEntity

pub trait ResponseEntity: Entity {
    pub fn describe_responses() -> Responses;
}

This should be implemented only for types that know how it should be encoded.

Required methods

Loading content...

Implementations on Foreign Types

impl ResponseEntity for str[src]

impl<T: ?Sized> ResponseEntity for Box<T> where
    T: ResponseEntity
[src]

impl<'a, T: ?Sized> ResponseEntity for &'a T where
    T: ResponseEntity
[src]

impl<T> ResponseEntity for Option<T> where
    T: ResponseEntity
[src]

impl ResponseEntity for String[src]

impl<T, E> ResponseEntity for Result<T, E> where
    T: ResponseEntity,
    E: ResponseEntity
[src]

impl ResponseEntity for Infallible[src]

impl ResponseEntity for Value[src]

Loading content...

Implementors

impl ResponseEntity for Error[src]

impl ResponseEntity for Rejection[src]

impl ResponseEntity for dyn Reply[src]

impl<T> ResponseEntity for Json<T> where
    T: Entity
[src]

Loading content...