pub struct RemoteSessionStarted {
pub device: String,
pub expires: TimeMs,
}Expand description
remote_session_started: a paired device proved its key and holds a
session until expires, which is never later than the door closes.
Fields§
§device: String§expires: TimeMsTrait Implementations§
Source§impl Clone for RemoteSessionStarted
impl Clone for RemoteSessionStarted
Source§impl Debug for RemoteSessionStarted
impl Debug for RemoteSessionStarted
Source§impl<'de> Deserialize<'de> for RemoteSessionStarted
impl<'de> Deserialize<'de> for RemoteSessionStarted
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 RemoteSessionStarted
Source§impl PartialEq for RemoteSessionStarted
impl PartialEq for RemoteSessionStarted
Source§impl Serialize for RemoteSessionStarted
impl Serialize for RemoteSessionStarted
impl StructuralPartialEq for RemoteSessionStarted
Auto Trait Implementations§
impl Freeze for RemoteSessionStarted
impl RefUnwindSafe for RemoteSessionStarted
impl Send for RemoteSessionStarted
impl Sync for RemoteSessionStarted
impl Unpin for RemoteSessionStarted
impl UnsafeUnpin for RemoteSessionStarted
impl UnwindSafe for RemoteSessionStarted
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