pub struct CodeImportRecord {
pub repository_id: String,
pub source_scope: String,
pub import_id: String,
pub file_id: String,
pub path: String,
pub module: String,
pub target_hint: Option<String>,
pub resolution_state: String,
pub confidence_basis_points: u16,
pub confidence_tier: String,
pub line_range: RepositoryCodeRange,
}Expand description
Import relationship extracted from code.
Fields§
§repository_id: String§source_scope: String§import_id: String§file_id: String§path: String§module: String§target_hint: Option<String>§resolution_state: String§confidence_basis_points: u16§confidence_tier: String§line_range: RepositoryCodeRangeTrait Implementations§
Source§impl Clone for CodeImportRecord
impl Clone for CodeImportRecord
Source§fn clone(&self) -> CodeImportRecord
fn clone(&self) -> CodeImportRecord
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 CodeImportRecord
impl Debug for CodeImportRecord
Source§impl<'de> Deserialize<'de> for CodeImportRecord
impl<'de> Deserialize<'de> for CodeImportRecord
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 CodeImportRecord
Source§impl PartialEq for CodeImportRecord
impl PartialEq for CodeImportRecord
Source§impl Serialize for CodeImportRecord
impl Serialize for CodeImportRecord
impl StructuralPartialEq for CodeImportRecord
Auto Trait Implementations§
impl Freeze for CodeImportRecord
impl RefUnwindSafe for CodeImportRecord
impl Send for CodeImportRecord
impl Sync for CodeImportRecord
impl Unpin for CodeImportRecord
impl UnsafeUnpin for CodeImportRecord
impl UnwindSafe for CodeImportRecord
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.