1 2 3 4 5 6 7 8 9 10 11 12 13
use protocol::{KeyId, SessionId, SignatureType, Timestamp, UserId}; /// Upon success authentication, the `user.check_session_status` API call will /// return a `Login` value. #[derive(Debug, RustcDecodable, RustcEncodable)] pub struct Login { pub user_id: UserId, pub session_id: SessionId, pub realm_key_id: KeyId, pub user_display: String, pub expires_at: Timestamp, pub signature_type: SignatureType, }