Struct itsdangerous::TimestampExpired
source · [−]pub struct TimestampExpired<T> {
pub timestamp: SystemTime,
pub max_age: Duration,
pub value: T,
}
Fields
timestamp: SystemTime
max_age: Duration
value: T
Trait Implementations
sourceimpl<T> Debug for TimestampExpired<T>
impl<T> Debug for TimestampExpired<T>
sourceimpl<T> Display for TimestampExpired<T>
impl<T> Display for TimestampExpired<T>
sourceimpl<T> Error for TimestampExpired<T>
impl<T> Error for TimestampExpired<T>
sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
sourcefn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎 Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
Auto Trait Implementations
impl<T> RefUnwindSafe for TimestampExpired<T> where
T: RefUnwindSafe,
impl<T> Send for TimestampExpired<T> where
T: Send,
impl<T> Sync for TimestampExpired<T> where
T: Sync,
impl<T> Unpin for TimestampExpired<T> where
T: Unpin,
impl<T> UnwindSafe for TimestampExpired<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more