pub struct RebuildProgress {
pub state: String,
pub rows_total: Option<i64>,
pub rows_done: i64,
pub started_at: i64,
pub last_progress_at: Option<i64>,
pub error_message: Option<String>,
}Expand description
Public progress snapshot returned from
crate::coordinator::ExecutionCoordinator::get_property_fts_rebuild_progress.
Fields§
§state: StringCurrent state: "PENDING", "BUILDING", "SWAPPING", "COMPLETE", or "FAILED".
rows_total: Option<i64>Total rows to process. None until the actor has counted the nodes.
rows_done: i64Rows processed so far.
started_at: i64Unix milliseconds when the rebuild was registered.
last_progress_at: Option<i64>Unix milliseconds of the last progress update, if any.
error_message: Option<String>Error message if state == "FAILED".
Trait Implementations§
Source§impl Clone for RebuildProgress
impl Clone for RebuildProgress
Source§fn clone(&self) -> RebuildProgress
fn clone(&self) -> RebuildProgress
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 RebuildProgress
impl Debug for RebuildProgress
Auto Trait Implementations§
impl Freeze for RebuildProgress
impl RefUnwindSafe for RebuildProgress
impl Send for RebuildProgress
impl Sync for RebuildProgress
impl Unpin for RebuildProgress
impl UnsafeUnpin for RebuildProgress
impl UnwindSafe for RebuildProgress
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