pub struct CodeRepositoryFreshnessDiagnostics {Show 13 fields
pub state: CodeRepositoryFreshnessState,
pub freshness_policy: FreshnessPolicy,
pub graph_version: u64,
pub source_scope: Option<String>,
pub scope_stale: bool,
pub stale_reason: Option<String>,
pub degraded_reason: Option<String>,
pub index_lag: CodeRepositoryIndexLag,
pub pending: CodeRepositoryPendingIndexWork,
pub cursor: Option<CodeRepositoryFreshnessCursor>,
pub direct_source_read_required: bool,
pub direct_source_read_paths: Vec<String>,
pub agent_instructions: Vec<String>,
}Expand description
Freshness governance fields returned with code graph answers.
Fields§
§state: CodeRepositoryFreshnessState§freshness_policy: FreshnessPolicy§graph_version: u64§source_scope: Option<String>§scope_stale: bool§stale_reason: Option<String>§degraded_reason: Option<String>§index_lag: CodeRepositoryIndexLag§pending: CodeRepositoryPendingIndexWork§cursor: Option<CodeRepositoryFreshnessCursor>§direct_source_read_required: bool§direct_source_read_paths: Vec<String>§agent_instructions: Vec<String>Implementations§
Source§impl CodeRepositoryFreshnessDiagnostics
impl CodeRepositoryFreshnessDiagnostics
pub fn legacy_unknown() -> Self
Trait Implementations§
Source§impl Clone for CodeRepositoryFreshnessDiagnostics
impl Clone for CodeRepositoryFreshnessDiagnostics
Source§fn clone(&self) -> CodeRepositoryFreshnessDiagnostics
fn clone(&self) -> CodeRepositoryFreshnessDiagnostics
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 CodeRepositoryFreshnessDiagnostics
impl<'de> Deserialize<'de> for CodeRepositoryFreshnessDiagnostics
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 CodeRepositoryFreshnessDiagnostics
Source§impl PartialEq for CodeRepositoryFreshnessDiagnostics
impl PartialEq for CodeRepositoryFreshnessDiagnostics
Source§fn eq(&self, other: &CodeRepositoryFreshnessDiagnostics) -> bool
fn eq(&self, other: &CodeRepositoryFreshnessDiagnostics) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CodeRepositoryFreshnessDiagnostics
Auto Trait Implementations§
impl Freeze for CodeRepositoryFreshnessDiagnostics
impl RefUnwindSafe for CodeRepositoryFreshnessDiagnostics
impl Send for CodeRepositoryFreshnessDiagnostics
impl Sync for CodeRepositoryFreshnessDiagnostics
impl Unpin for CodeRepositoryFreshnessDiagnostics
impl UnsafeUnpin for CodeRepositoryFreshnessDiagnostics
impl UnwindSafe for CodeRepositoryFreshnessDiagnostics
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.