pub struct ServiceSyncStatus {
pub enabled: bool,
pub device_id: Option<String>,
pub device_name: Option<String>,
pub relay_url: Option<String>,
pub last_sync_at: Option<i64>,
pub pending_changes: u64,
pub conflicts: u64,
}Expand description
Wire DTO for sync status (VaultOp::SyncStatus).
Fields§
§enabled: bool§device_id: Option<String>§device_name: Option<String>§relay_url: Option<String>§last_sync_at: Option<i64>§pending_changes: u64§conflicts: u64Objects with a stored concurrent-edit alternative awaiting user resolution (WBS-611; serde default keeps older clients parsing).
Trait Implementations§
Source§impl Clone for ServiceSyncStatus
impl Clone for ServiceSyncStatus
Source§fn clone(&self) -> ServiceSyncStatus
fn clone(&self) -> ServiceSyncStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ServiceSyncStatus
impl Debug for ServiceSyncStatus
Source§impl<'de> Deserialize<'de> for ServiceSyncStatus
impl<'de> Deserialize<'de> for ServiceSyncStatus
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
Auto Trait Implementations§
impl Freeze for ServiceSyncStatus
impl RefUnwindSafe for ServiceSyncStatus
impl Send for ServiceSyncStatus
impl Sync for ServiceSyncStatus
impl Unpin for ServiceSyncStatus
impl UnsafeUnpin for ServiceSyncStatus
impl UnwindSafe for ServiceSyncStatus
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