pub struct DateServiceDecorator;Expand description
A wrapper that adds automatic date header handling to responses.
This wrapper creates a DateResponseHandler that will add an RFC 7231 compliant
Date header to all HTTP responses.
Trait Implementations§
Source§impl Clone for DateServiceDecorator
impl Clone for DateServiceDecorator
Source§fn clone(&self) -> DateServiceDecorator
fn clone(&self) -> DateServiceDecorator
Returns a duplicate 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 DateServiceDecorator
impl RefUnwindSafe for DateServiceDecorator
impl Send for DateServiceDecorator
impl Sync for DateServiceDecorator
impl Unpin for DateServiceDecorator
impl UnwindSafe for DateServiceDecorator
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