logo
pub trait ResponseContent {
    fn media_types() -> Vec<MetaMediaType>Notable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
    A: Allocator
; fn register(registry: &mut Registry) { ... } }
Expand description

Represents a OpenAPI response content object.

Required methods

Returns the media types in this content.

Provided methods

Register the schema contained in this content to the registry.

Implementors