Struct secure_session::session::Session
[−]
[src]
pub struct Session<V> {
pub expires: Option<DateTime<Utc>>,
pub value: Option<V>,
}A session with an exipiration date and optional value.
Fields
expires: Option<DateTime<Utc>>
The Utc timestamp when the session expires.
value: Option<V>
The value of the session.
Trait Implementations
impl<V: Clone> Clone for Session<V>[src]
fn clone(&self) -> Session<V>[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more