pub struct RunMetadata {
pub run_id: String,
pub service_name: String,
pub service_version: Option<String>,
pub started_at_unix_ms: u64,
pub finished_at_unix_ms: u64,
pub mode: CaptureMode,
pub host: Option<String>,
pub pid: Option<u32>,
pub lifecycle_warnings: Vec<String>,
pub unfinished_requests: UnfinishedRequests,
}Expand description
Top-level metadata for one capture run.
Fields§
§run_id: StringA unique identifier for the run.
service_name: StringService/application name.
service_version: Option<String>Optional service version.
started_at_unix_ms: u64Timestamp (milliseconds since epoch UTC) when collection started.
finished_at_unix_ms: u64Timestamp (milliseconds since epoch UTC) when collection ended.
mode: CaptureModeCapture mode, such as “light” or “investigation”.
host: Option<String>Hostname if available.
pid: Option<u32>Process identifier if available.
lifecycle_warnings: Vec<String>Lifecycle warnings generated during shutdown validation.
unfinished_requests: UnfinishedRequestsIncomplete request summary captured at shutdown.
Trait Implementations§
Source§impl Clone for RunMetadata
impl Clone for RunMetadata
Source§fn clone(&self) -> RunMetadata
fn clone(&self) -> RunMetadata
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 RunMetadata
impl Debug for RunMetadata
Source§impl<'de> Deserialize<'de> for RunMetadata
impl<'de> Deserialize<'de> for RunMetadata
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 PartialEq for RunMetadata
impl PartialEq for RunMetadata
Source§impl Serialize for RunMetadata
impl Serialize for RunMetadata
impl Eq for RunMetadata
impl StructuralPartialEq for RunMetadata
Auto Trait Implementations§
impl Freeze for RunMetadata
impl RefUnwindSafe for RunMetadata
impl Send for RunMetadata
impl Sync for RunMetadata
impl Unpin for RunMetadata
impl UnsafeUnpin for RunMetadata
impl UnwindSafe for RunMetadata
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