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

pub trait ResponseEntity: Entity {
    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<T: ?Sized> ResponseEntity for Box<T> where
    T: ResponseEntity
[src]

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

impl<'a> ResponseEntity for &'a str[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]

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...