pub struct ExecutionPathItem {
pub call_count: i64,
pub class_name: Option<String>,
pub duration_ms: Option<f64>,
pub file_path: String,
pub function_name: String,
pub line_number: Option<i64>,
pub metadata: Option<Map<String, Value>>,
pub module_name: Option<String>,
pub sequence: i64,
}Expand description
Single step in an execution path.
JSON schema
{
"title": "ExecutionPathItem",
"description": "Single step in an execution path.",
"type": "object",
"required": [
"file_path",
"function_name",
"sequence"
],
"properties": {
"call_count": {
"title": "Call Count",
"description": "Number of times this was called",
"default": 1,
"type": "integer"
},
"class_name": {
"title": "Class Name",
"description": "Class name if applicable",
"type": [
"string",
"null"
]
},
"duration_ms": {
"title": "Duration Ms",
"description": "Execution time in milliseconds",
"type": [
"number",
"null"
]
},
"file_path": {
"title": "File Path",
"description": "File path relative to project root",
"type": "string"
},
"function_name": {
"title": "Function Name",
"description": "Function/method name",
"type": "string"
},
"line_number": {
"title": "Line Number",
"description": "Line number where function is defined",
"type": [
"integer",
"null"
]
},
"metadata": {
"title": "Metadata",
"description": "Additional metadata",
"type": [
"object",
"null"
],
"additionalProperties": true
},
"module_name": {
"title": "Module Name",
"description": "Module/package name",
"type": [
"string",
"null"
]
},
"sequence": {
"title": "Sequence",
"description": "Order in the execution sequence",
"type": "integer"
}
}
}Fields§
§call_count: i64Number of times this was called
class_name: Option<String>Class name if applicable
duration_ms: Option<f64>Execution time in milliseconds
file_path: StringFile path relative to project root
function_name: StringFunction/method name
line_number: Option<i64>Line number where function is defined
metadata: Option<Map<String, Value>>Additional metadata
module_name: Option<String>Module/package name
sequence: i64Order in the execution sequence
Implementations§
Source§impl ExecutionPathItem
impl ExecutionPathItem
pub fn builder() -> ExecutionPathItem
Trait Implementations§
Source§impl Clone for ExecutionPathItem
impl Clone for ExecutionPathItem
Source§fn clone(&self) -> ExecutionPathItem
fn clone(&self) -> ExecutionPathItem
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 ExecutionPathItem
impl Debug for ExecutionPathItem
Source§impl<'de> Deserialize<'de> for ExecutionPathItem
impl<'de> Deserialize<'de> for ExecutionPathItem
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
Source§impl From<&ExecutionPathItem> for ExecutionPathItem
impl From<&ExecutionPathItem> for ExecutionPathItem
Source§fn from(value: &ExecutionPathItem) -> Self
fn from(value: &ExecutionPathItem) -> Self
Converts to this type from the input type.
Source§impl From<ExecutionPathItem> for ExecutionPathItem
impl From<ExecutionPathItem> for ExecutionPathItem
Source§fn from(value: ExecutionPathItem) -> Self
fn from(value: ExecutionPathItem) -> Self
Converts to this type from the input type.
Source§impl Serialize for ExecutionPathItem
impl Serialize for ExecutionPathItem
Source§impl TryFrom<ExecutionPathItem> for ExecutionPathItem
impl TryFrom<ExecutionPathItem> for ExecutionPathItem
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: ExecutionPathItem) -> Result<Self, ConversionError>
fn try_from(value: ExecutionPathItem) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ExecutionPathItem
impl RefUnwindSafe for ExecutionPathItem
impl Send for ExecutionPathItem
impl Sync for ExecutionPathItem
impl Unpin for ExecutionPathItem
impl UnwindSafe for ExecutionPathItem
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