pub struct ContextSuggestion {
pub path: String,
pub score: u32,
pub tier: ContextSuggestionTier,
pub reasons: Vec<String>,
pub recent_changes: u32,
pub distinct_states: u32,
pub distinct_agents: u32,
pub has_context: bool,
pub stale_annotations: u32,
}Fields§
§path: String§score: u32§tier: ContextSuggestionTier§reasons: Vec<String>§recent_changes: u32§distinct_states: u32§distinct_agents: u32§has_context: bool§stale_annotations: u32Trait Implementations§
Source§impl Clone for ContextSuggestion
impl Clone for ContextSuggestion
Source§fn clone(&self) -> ContextSuggestion
fn clone(&self) -> ContextSuggestion
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 ContextSuggestion
impl Debug for ContextSuggestion
impl Eq for ContextSuggestion
Source§impl PartialEq for ContextSuggestion
impl PartialEq for ContextSuggestion
Source§fn eq(&self, other: &ContextSuggestion) -> bool
fn eq(&self, other: &ContextSuggestion) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ContextSuggestion
Auto Trait Implementations§
impl Freeze for ContextSuggestion
impl RefUnwindSafe for ContextSuggestion
impl Send for ContextSuggestion
impl Sync for ContextSuggestion
impl Unpin for ContextSuggestion
impl UnsafeUnpin for ContextSuggestion
impl UnwindSafe for ContextSuggestion
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