pub struct SyncStatusRow {
pub location: RecordedLocation<String>,
pub last_pass: Option<Vec<u8>>,
pub moved: Option<PassMove>,
pub last_synced: Option<SystemTime>,
}Expand description
coven_sync_status’s row as it is read.
Fields§
§location: RecordedLocation<String>Whether a location is recorded and its credentials held.
last_pass: Option<Vec<u8>>How the last pass ended, as sync encodes it; none until a pass ends on this device.
moved: Option<PassMove>What the running pass moved last; none while it has moved nothing.
last_synced: Option<SystemTime>When a pass last reached the end of the sequence, or setup, joining or restoring finished, by the store’s clock.
Trait Implementations§
Source§impl Clone for SyncStatusRow
impl Clone for SyncStatusRow
Source§impl Debug for SyncStatusRow
impl Debug for SyncStatusRow
impl Eq for SyncStatusRow
Source§impl PartialEq for SyncStatusRow
impl PartialEq for SyncStatusRow
impl StructuralPartialEq for SyncStatusRow
Auto Trait Implementations§
impl Freeze for SyncStatusRow
impl RefUnwindSafe for SyncStatusRow
impl Send for SyncStatusRow
impl Sync for SyncStatusRow
impl Unpin for SyncStatusRow
impl UnsafeUnpin for SyncStatusRow
impl UnwindSafe for SyncStatusRow
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.