pub struct LogicalLocation {
pub decorated_name: Option<String>,
pub fully_qualified_name: Option<String>,
pub index: Option<i64>,
pub kind: Option<String>,
pub name: Option<String>,
pub parent_index: Option<i64>,
pub properties: Option<PropertyBag>,
}
Expand description
A logical location of a construct that produced a result.
Fields
decorated_name: Option<String>
The machine-readable name for the logical location, such as a mangled function name provided by a C++ compiler that encodes calling convention, return type and other details along with the function name.
fully_qualified_name: Option<String>
The human-readable fully qualified name of the logical location.
index: Option<i64>
The index within the logical locations array.
kind: Option<String>
The type of construct this logical location component refers to. Should be one of ‘function’, ‘member’, ‘module’, ‘namespace’, ‘parameter’, ‘resource’, ‘returnType’, ‘type’, ‘variable’, ‘object’, ‘array’, ‘property’, ‘value’, ‘element’, ‘text’, ‘attribute’, ‘comment’, ‘declaration’, ‘dtd’ or ‘processingInstruction’, if any of those accurately describe the construct.
name: Option<String>
Identifies the construct in which the result occurred. For example, this property might contain the name of a class or a method.
parent_index: Option<i64>
Identifies the index of the immediate parent of the construct in which the result was detected. For example, this property might point to a logical location that represents the namespace that holds a type.
properties: Option<PropertyBag>
Key/value pairs that provide additional information about the logical location.
Trait Implementations
sourceimpl Debug for LogicalLocation
impl Debug for LogicalLocation
sourceimpl<'de> Deserialize<'de> for LogicalLocation
impl<'de> Deserialize<'de> for LogicalLocation
sourcefn 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
sourceimpl Serialize for LogicalLocation
impl Serialize for LogicalLocation
Auto Trait Implementations
impl RefUnwindSafe for LogicalLocation
impl Send for LogicalLocation
impl Sync for LogicalLocation
impl Unpin for LogicalLocation
impl UnwindSafe for LogicalLocation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more