pub struct SyncStatusRow {
pub location: RecordedLocation<String>,
pub last_pass: Option<Vec<u8>>,
pub moving: bool,
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.
moving: boolWhether the running pass has read a slot it hadn’t, or claimed one.
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§fn clone(&self) -> SyncStatusRow
fn clone(&self) -> SyncStatusRow
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SyncStatusRow
impl Debug for SyncStatusRow
Source§impl PartialEq for SyncStatusRow
impl PartialEq for SyncStatusRow
impl Eq 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.