pub struct UcmEntity {
pub id: EntityId,
pub kind: EntityKind,
pub name: String,
pub file_path: String,
pub line_range: Option<(usize, usize)>,
pub language: String,
pub discovered_at: DateTime<Utc>,
pub discovery_source: DiscoverySource,
}Expand description
A node in the context graph — an entity with its identity and metadata.
Fields§
§id: EntityIdSCIP-style globally unique identifier
kind: EntityKindWhat kind of entity this is
name: StringHuman-readable name
file_path: StringSource file path (relative to project root)
line_range: Option<(usize, usize)>Line range in source file [start, end]
language: StringProgramming language
discovered_at: DateTime<Utc>When this entity was first discovered
discovery_source: DiscoverySourceWhich ingestion source discovered it
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UcmEntity
impl<'de> Deserialize<'de> for UcmEntity
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
Auto Trait Implementations§
impl Freeze for UcmEntity
impl RefUnwindSafe for UcmEntity
impl Send for UcmEntity
impl Sync for UcmEntity
impl Unpin for UcmEntity
impl UnsafeUnpin for UcmEntity
impl UnwindSafe for UcmEntity
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