pub struct RebuildResult {
pub root: PathBuf,
pub duration_ms: u64,
pub nodes: u64,
pub edges: u64,
pub files_indexed: u64,
pub was_full: bool,
}Expand description
daemon/rebuild success result payload.
Serialised under the result field of ResponseEnvelope. Reports
post-rebuild graph statistics and the wall-clock duration of the rebuild.
Fields§
§root: PathBufThe canonicalised workspace root path that was rebuilt.
duration_ms: u64Wall-clock time the rebuild took, in milliseconds.
nodes: u64Node count of the freshly published graph.
edges: u64Edge count of the freshly published graph.
files_indexed: u64Number of source files indexed in the freshly published graph.
was_full: booltrue when the rebuild was a full (non-incremental) rebuild.
Trait Implementations§
Source§impl Clone for RebuildResult
impl Clone for RebuildResult
Source§fn clone(&self) -> RebuildResult
fn clone(&self) -> RebuildResult
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 RebuildResult
impl Debug for RebuildResult
Source§impl<'de> Deserialize<'de> for RebuildResult
impl<'de> Deserialize<'de> for RebuildResult
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
Source§impl PartialEq for RebuildResult
impl PartialEq for RebuildResult
Source§fn eq(&self, other: &RebuildResult) -> bool
fn eq(&self, other: &RebuildResult) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RebuildResult
impl Serialize for RebuildResult
impl Eq for RebuildResult
impl StructuralPartialEq for RebuildResult
Auto Trait Implementations§
impl Freeze for RebuildResult
impl RefUnwindSafe for RebuildResult
impl Send for RebuildResult
impl Sync for RebuildResult
impl Unpin for RebuildResult
impl UnsafeUnpin for RebuildResult
impl UnwindSafe for RebuildResult
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