pub struct Symbol {Show 26 fields
pub symbol_id: String,
pub file_id: String,
pub path: String,
pub language: String,
pub name: String,
pub kind: String,
pub signature: Option<String>,
pub doc_comment: Option<String>,
pub visibility: Option<String>,
pub parent_symbol_id: Option<String>,
pub start_line: usize,
pub start_column: usize,
pub end_line: usize,
pub end_column: usize,
pub start_byte: usize,
pub end_byte: usize,
pub body_start_line: Option<usize>,
pub body_start_column: Option<usize>,
pub body_end_line: Option<usize>,
pub body_end_column: Option<usize>,
pub body_start_byte: Option<usize>,
pub body_end_byte: Option<usize>,
pub body_hash: Option<String>,
pub semantic_group: Option<String>,
pub is_test: bool,
pub test_container: bool,
}Fields§
§symbol_id: String§file_id: String§path: String§language: String§name: String§kind: String§signature: Option<String>§doc_comment: Option<String>§visibility: Option<String>§parent_symbol_id: Option<String>§start_line: usize§start_column: usize§end_line: usize§end_column: usize§start_byte: usize§end_byte: usize§body_start_line: Option<usize>§body_start_column: Option<usize>§body_end_line: Option<usize>§body_end_column: Option<usize>§body_start_byte: Option<usize>§body_end_byte: Option<usize>§body_hash: Option<String>§semantic_group: Option<String>§is_test: bool§test_container: boolImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Symbol
impl<'de> Deserialize<'de> for Symbol
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 StructuralPartialEq for Symbol
Auto Trait Implementations§
impl Freeze for Symbol
impl RefUnwindSafe for Symbol
impl Send for Symbol
impl Sync for Symbol
impl Unpin for Symbol
impl UnsafeUnpin for Symbol
impl UnwindSafe for Symbol
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
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more