kvarn::vary

Struct VariedResponse

source
pub struct VariedResponse { /* private fields */ }
Expand description

A collection of multiple responses depending on the headers the client sent, according to the vary header.

The caching of multiple responses per path is controlled using Host::vary.

Trait Implementations§

source§

impl Clone for VariedResponse

source§

fn clone(&self) -> VariedResponse

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

imp