Struct matrix_sdk_crypto::olm::PickledSession [−][src]
pub struct PickledSession {
pub pickle: SessionPickle,
pub sender_key: String,
pub creation_time: Instant,
pub last_use_time: Instant,
}Expand description
A pickled version of a Session.
Holds all the information that needs to be stored in a database to restore a Session.
Fields
pickle: SessionPickleThe pickle string holding the Olm Session.
sender_key: StringThe curve25519 key of the other user that we share this session with.
creation_time: InstantThe relative time elapsed since the session was created.
last_use_time: InstantThe relative time elapsed since the session was last used.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for PickledSession
impl Send for PickledSession
impl Sync for PickledSession
impl Unpin for PickledSession
impl UnwindSafe for PickledSession
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more