pub struct SymbolWithParent {
pub id: i64,
pub name: String,
pub kind: SymbolKind,
pub file_path: String,
pub start_line: i64,
pub end_line: i64,
pub signature: Option<String>,
pub parent_name: Option<String>,
}Expand description
Symbol with resolved parent name (for symbol comparison across git refs)
Fields§
§id: i64§name: String§kind: SymbolKind§file_path: String§start_line: i64§end_line: i64§signature: Option<String>§parent_name: Option<String>Trait Implementations§
Source§impl Clone for SymbolWithParent
impl Clone for SymbolWithParent
Source§fn clone(&self) -> SymbolWithParent
fn clone(&self) -> SymbolWithParent
Returns a duplicate of the value. Read more
1.0.0 · 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 SymbolWithParent
impl Debug for SymbolWithParent
Source§impl<'de> Deserialize<'de> for SymbolWithParent
impl<'de> Deserialize<'de> for SymbolWithParent
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 SymbolWithParent
impl RefUnwindSafe for SymbolWithParent
impl Send for SymbolWithParent
impl Sync for SymbolWithParent
impl Unpin for SymbolWithParent
impl UnsafeUnpin for SymbolWithParent
impl UnwindSafe for SymbolWithParent
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