Searched refs:BootTime (Results 1 – 2 of 2) sorted by relevance
23 database::{AuthTokenEntry, BootTime},612 let now = BootTime::now(); in authorize_create()675 let now = BootTime::now(); in authorize_create()846 let now_in_millis = BootTime::now(); in get_auth_tokens()882 ) -> Option<BootTime> { in get_last_auth_time() argument
795 pub struct BootTime(i64); struct797 impl BootTime { impl819 impl ToSql for BootTime { implementation825 impl FromSql for BootTime { implementation837 time_received: BootTime,841 fn new(auth_token: HardwareAuthToken, time_received: BootTime) -> Self { in new()864 pub fn time_received(&self) -> BootTime { in time_received() argument2792 .insert_auth_token_entry(AuthTokenEntry::new(auth_token.clone(), BootTime::now())) in insert_auth_token()