pub struct SyncStatus {
pub dirty_sessions: usize,
pub dirty_issues: usize,
pub dirty_context_items: usize,
pub pending_deletions: usize,
pub total_sessions: usize,
pub total_issues: usize,
pub total_context_items: usize,
pub needs_backfill: bool,
pub has_export_files: bool,
pub export_files: Vec<ExportFileInfo>,
}Expand description
Sync status information.
Fields§
§dirty_sessions: usizeNumber of dirty sessions pending export.
dirty_issues: usizeNumber of dirty issues pending export.
dirty_context_items: usizeNumber of dirty context items pending export.
pending_deletions: usizeNumber of pending deletions to export.
total_sessions: usizeTotal sessions for this project.
total_issues: usizeTotal issues for this project.
total_context_items: usizeTotal context items for this project.
needs_backfill: boolWhether a backfill is needed (data exists but no dirty records).
has_export_files: boolWhether any export files exist.
export_files: Vec<ExportFileInfo>List of export files with their sizes.
Trait Implementations§
Source§impl Clone for SyncStatus
impl Clone for SyncStatus
Source§fn clone(&self) -> SyncStatus
fn clone(&self) -> SyncStatus
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 SyncStatus
impl Debug for SyncStatus
Auto Trait Implementations§
impl Freeze for SyncStatus
impl RefUnwindSafe for SyncStatus
impl Send for SyncStatus
impl Sync for SyncStatus
impl Unpin for SyncStatus
impl UnsafeUnpin for SyncStatus
impl UnwindSafe for SyncStatus
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more