pub struct DeviceLine {
pub id: DeviceId,
pub label: String,
pub paired_at: TimeMs,
pub last_seen: Option<TimeMs>,
}Expand description
One paired browser, as a person recognises and revokes it. Its public key and its sessions stay in the city.
Fields§
§id: DeviceId§label: StringThe name the page gave when it paired.
paired_at: TimeMs§last_seen: Option<TimeMs>The last time it opened a session; absent until it has.
Trait Implementations§
Source§impl Clone for DeviceLine
impl Clone for DeviceLine
Source§impl Debug for DeviceLine
impl Debug for DeviceLine
Source§impl<'de> Deserialize<'de> for DeviceLine
impl<'de> Deserialize<'de> for DeviceLine
Source§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
impl Eq for DeviceLine
Source§impl PartialEq for DeviceLine
impl PartialEq for DeviceLine
Source§impl Serialize for DeviceLine
impl Serialize for DeviceLine
impl StructuralPartialEq for DeviceLine
Auto Trait Implementations§
impl Freeze for DeviceLine
impl RefUnwindSafe for DeviceLine
impl Send for DeviceLine
impl Sync for DeviceLine
impl Unpin for DeviceLine
impl UnsafeUnpin for DeviceLine
impl UnwindSafe for DeviceLine
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more