pub struct CodeRepositoryFreshnessCursor {
pub source_scope: String,
pub checkpoint_state: String,
pub total_path_count: usize,
pub parsed_file_count: usize,
pub committed_file_count: usize,
pub committed_symbol_count: usize,
pub committed_reference_count: usize,
pub committed_chunk_count: usize,
pub batch_count: usize,
pub pending_file_count: usize,
pub updated_at_ms: u64,
}Expand description
Durable code-index cursor/checkpoint surfaced with graph answers.
Fields§
§source_scope: String§checkpoint_state: String§total_path_count: usize§parsed_file_count: usize§committed_file_count: usize§committed_symbol_count: usize§committed_reference_count: usize§committed_chunk_count: usize§batch_count: usize§pending_file_count: usize§updated_at_ms: u64Implementations§
Source§impl CodeRepositoryFreshnessCursor
impl CodeRepositoryFreshnessCursor
pub fn from_checkpoint(checkpoint: &CodeIndexCheckpoint) -> Self
Trait Implementations§
Source§impl Clone for CodeRepositoryFreshnessCursor
impl Clone for CodeRepositoryFreshnessCursor
Source§fn clone(&self) -> CodeRepositoryFreshnessCursor
fn clone(&self) -> CodeRepositoryFreshnessCursor
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<'de> Deserialize<'de> for CodeRepositoryFreshnessCursor
impl<'de> Deserialize<'de> for CodeRepositoryFreshnessCursor
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
impl Eq for CodeRepositoryFreshnessCursor
impl StructuralPartialEq for CodeRepositoryFreshnessCursor
Auto Trait Implementations§
impl Freeze for CodeRepositoryFreshnessCursor
impl RefUnwindSafe for CodeRepositoryFreshnessCursor
impl Send for CodeRepositoryFreshnessCursor
impl Sync for CodeRepositoryFreshnessCursor
impl Unpin for CodeRepositoryFreshnessCursor
impl UnsafeUnpin for CodeRepositoryFreshnessCursor
impl UnwindSafe for CodeRepositoryFreshnessCursor
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.