pub struct BackupReport {
pub converged: bool,
pub reason: Option<UnsyncedReason>,
pub budget_s: u64,
pub waited_s: u64,
pub resync: Option<ResyncRecord>,
pub last_sync_before: Option<i64>,
pub last_sync_after: Option<i64>,
pub project_state: Option<String>,
pub files_checked: usize,
pub checks: Vec<BackupCheck>,
}Expand description
data.backup of an apply and of deploy verify (V2, D-09). It has no
field for gateway text.
Fields§
§converged: boolThe backup holds what the master holds.
reason: Option<UnsyncedReason>Why not, when it does not.
budget_s: u64The wait budget in seconds (0 for a verify).
waited_s: u64Seconds waited.
resync: Option<ResyncRecord>The resync sent, if any.
last_sync_before: Option<i64>The backup’s timestamp before the apply, None when never synced.
last_sync_after: Option<i64>The backup’s timestamp at the last read.
project_state: Option<String>The backup’s projectState at the last read.
files_checked: usizeFiles compared with the master’s.
checks: Vec<BackupCheck>The checks, in BackupCheckId order.
Trait Implementations§
Source§impl Clone for BackupReport
impl Clone for BackupReport
Source§impl Debug for BackupReport
impl Debug for BackupReport
impl Eq for BackupReport
Source§impl PartialEq for BackupReport
impl PartialEq for BackupReport
Source§impl Serialize for BackupReport
impl Serialize for BackupReport
impl StructuralPartialEq for BackupReport
Auto Trait Implementations§
impl Freeze for BackupReport
impl RefUnwindSafe for BackupReport
impl Send for BackupReport
impl Sync for BackupReport
impl Unpin for BackupReport
impl UnsafeUnpin for BackupReport
impl UnwindSafe for BackupReport
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.