pub struct SyncReport {
pub changed: Vec<String>,
pub unchanged: Vec<String>,
pub failed: Vec<(String, String)>,
pub no_token: bool,
pub problems: Vec<String>,
}Expand description
What a pass did.
Fields§
§changed: Vec<String>Scopes whose data actually changed.
unchanged: Vec<String>Scopes that were asked and answered “nothing new”.
failed: Vec<(String, String)>Scopes that could not be asked, and why. Serialised as
{ "scope": …, "error": … }, which is what a reader names them by.
no_token: boolTrue when there was no token to sync with. Not a failure of any scope: nothing was attempted, and nothing is wrong with what is held.
problems: Vec<String>What could not be found out about what to mirror.
Implementations§
Source§impl SyncReport
impl SyncReport
pub fn touched_anything(&self) -> bool
Trait Implementations§
Source§impl Clone for SyncReport
impl Clone for SyncReport
Source§impl Debug for SyncReport
impl Debug for SyncReport
Source§impl Default for SyncReport
impl Default for SyncReport
impl Eq for SyncReport
Source§impl PartialEq for SyncReport
impl PartialEq for SyncReport
Source§impl Serialize for SyncReport
impl Serialize for SyncReport
impl StructuralPartialEq for SyncReport
Auto Trait Implementations§
impl Freeze for SyncReport
impl RefUnwindSafe for SyncReport
impl Send for SyncReport
impl Sync for SyncReport
impl Unpin for SyncReport
impl UnsafeUnpin for SyncReport
impl UnwindSafe for SyncReport
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§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.