pub struct Location {
    pub annotations: Option<Vec<Region>>,
    pub id: Option<i64>,
    pub logical_locations: Option<Vec<LogicalLocation>>,
    pub message: Option<Message>,
    pub physical_location: Option<PhysicalLocation>,
    pub properties: Option<PropertyBag>,
    pub relationships: Option<Vec<LocationRelationship>>,
}
Expand description

The location to which this stack frame refers.

A location within a programming artifact.

A code location associated with the node.

The code location.

Identifies the location associated with the suppression.

Fields

annotations: Option<Vec<Region>>

A set of regions relevant to the location.

id: Option<i64>

Value that distinguishes this location from all other locations within a single result object.

logical_locations: Option<Vec<LogicalLocation>>

The logical locations associated with the result.

message: Option<Message>

A message relevant to the location.

physical_location: Option<PhysicalLocation>

Identifies the artifact and region.

properties: Option<PropertyBag>

Key/value pairs that provide additional information about the location.

relationships: Option<Vec<LocationRelationship>>

An array of objects that describe relationships between this location and others.

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more