pub struct CodeNodeV1 {
pub id: String,
pub kind: CodeNodeKind,
pub lang: Option<String>,
pub symbol_kind: Option<String>,
}Expand description
code:<path> (a file) or code:<path>#<symbol>, as in GraphV1.
Fields§
§id: String§kind: CodeNodeKind§lang: Option<String>Tree-sitter language id, a hint.
symbol_kind: Option<String>fn, type, trait, const, … for symbols, a hint.
Trait Implementations§
Source§impl Clone for CodeNodeV1
impl Clone for CodeNodeV1
Source§impl Debug for CodeNodeV1
impl Debug for CodeNodeV1
Source§impl<'de> Deserialize<'de> for CodeNodeV1
impl<'de> Deserialize<'de> for CodeNodeV1
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 CodeNodeV1
Source§impl PartialEq for CodeNodeV1
impl PartialEq for CodeNodeV1
Source§impl Serialize for CodeNodeV1
impl Serialize for CodeNodeV1
impl StructuralPartialEq for CodeNodeV1
Auto Trait Implementations§
impl Freeze for CodeNodeV1
impl RefUnwindSafe for CodeNodeV1
impl Send for CodeNodeV1
impl Sync for CodeNodeV1
impl Unpin for CodeNodeV1
impl UnsafeUnpin for CodeNodeV1
impl UnwindSafe for CodeNodeV1
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