pub struct DateTimeState {
pub date: [u8; 29],
pub date_header: HeaderValue,
pub now: Instant,
}Expand description
struct contains byte representation of [HttpDate] and Instant.
Fields§
§date: [u8; 29]§date_header: HeaderValue§now: InstantTrait Implementations§
Source§impl Clone for DateTimeState
impl Clone for DateTimeState
Source§impl Default for DateTimeState
impl Default for DateTimeState
Auto Trait Implementations§
impl !Freeze for DateTimeState
impl RefUnwindSafe for DateTimeState
impl Send for DateTimeState
impl Sync for DateTimeState
impl Unpin for DateTimeState
impl UnsafeUnpin for DateTimeState
impl UnwindSafe for DateTimeState
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