pub struct CodeGraphImpactHint {
pub path: String,
pub line_range: RepositoryCodeRange,
pub relationship: String,
pub symbol_snapshot_id: Option<String>,
pub retrieval_layers: Vec<CodeRetrievalLayer>,
pub score: f64,
}Expand description
Structural risk hint around a seed symbol or file.
Fields§
§path: String§line_range: RepositoryCodeRange§relationship: String§symbol_snapshot_id: Option<String>§retrieval_layers: Vec<CodeRetrievalLayer>§score: f64Trait Implementations§
Source§impl Clone for CodeGraphImpactHint
impl Clone for CodeGraphImpactHint
Source§fn clone(&self) -> CodeGraphImpactHint
fn clone(&self) -> CodeGraphImpactHint
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 CodeGraphImpactHint
impl Debug for CodeGraphImpactHint
Source§impl<'de> Deserialize<'de> for CodeGraphImpactHint
impl<'de> Deserialize<'de> for CodeGraphImpactHint
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 CodeGraphImpactHint
impl PartialEq for CodeGraphImpactHint
Source§impl Serialize for CodeGraphImpactHint
impl Serialize for CodeGraphImpactHint
impl StructuralPartialEq for CodeGraphImpactHint
Auto Trait Implementations§
impl Freeze for CodeGraphImpactHint
impl RefUnwindSafe for CodeGraphImpactHint
impl Send for CodeGraphImpactHint
impl Sync for CodeGraphImpactHint
impl Unpin for CodeGraphImpactHint
impl UnsafeUnpin for CodeGraphImpactHint
impl UnwindSafe for CodeGraphImpactHint
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