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
impl Clone for VariedResponse
source§fn clone(&self) -> VariedResponse
fn clone(&self) -> VariedResponse
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for VariedResponse
impl !RefUnwindSafe for VariedResponse
impl Send for VariedResponse
impl Sync for VariedResponse
impl Unpin for VariedResponse
impl !UnwindSafe for VariedResponse
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)