pub struct FileIndexFreshnessDiagnostics {Show 14 fields
pub state: FileIndexFreshnessState,
pub freshness_policy: FreshnessPolicy,
pub graph_version: u64,
pub source_scope: Option<String>,
pub root_id: Option<String>,
pub stale_reason: Option<String>,
pub degraded_reason: Option<String>,
pub index_lag: FileIndexLag,
pub cursors: Vec<FileIndexFreshnessCursor>,
pub direct_source_read_required: bool,
pub bounded_rescan_required: bool,
pub direct_source_read_paths: Vec<String>,
pub agent_instructions: Vec<String>,
pub content_read_model_cursors: Vec<FileContentReadModelCursor>,
}Expand description
Freshness governance fields returned with local file-index responses.
Fields§
§state: FileIndexFreshnessState§freshness_policy: FreshnessPolicy§graph_version: u64§source_scope: Option<String>§root_id: Option<String>§stale_reason: Option<String>§degraded_reason: Option<String>§index_lag: FileIndexLag§cursors: Vec<FileIndexFreshnessCursor>§direct_source_read_required: bool§bounded_rescan_required: bool§direct_source_read_paths: Vec<String>§agent_instructions: Vec<String>§content_read_model_cursors: Vec<FileContentReadModelCursor>Implementations§
Source§impl FileIndexFreshnessDiagnostics
impl FileIndexFreshnessDiagnostics
pub fn legacy_unknown() -> Self
Trait Implementations§
Source§impl Clone for FileIndexFreshnessDiagnostics
impl Clone for FileIndexFreshnessDiagnostics
Source§fn clone(&self) -> FileIndexFreshnessDiagnostics
fn clone(&self) -> FileIndexFreshnessDiagnostics
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 FileIndexFreshnessDiagnostics
impl<'de> Deserialize<'de> for FileIndexFreshnessDiagnostics
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 FileIndexFreshnessDiagnostics
impl StructuralPartialEq for FileIndexFreshnessDiagnostics
Auto Trait Implementations§
impl Freeze for FileIndexFreshnessDiagnostics
impl RefUnwindSafe for FileIndexFreshnessDiagnostics
impl Send for FileIndexFreshnessDiagnostics
impl Sync for FileIndexFreshnessDiagnostics
impl Unpin for FileIndexFreshnessDiagnostics
impl UnsafeUnpin for FileIndexFreshnessDiagnostics
impl UnwindSafe for FileIndexFreshnessDiagnostics
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.