diagnostics_data

Type Alias LogsData

Source
pub type LogsData = Data<Logs>;
Expand description

A diagnostics data object containing logs data.

Aliased Type§

struct LogsData {
    pub data_source: DataSource,
    pub metadata: LogsMetadata,
    pub moniker: ExtendedMoniker,
    pub payload: Option<DiagnosticsHierarchy<LogsField>>,
    pub version: u64,
}

Fields§

§data_source: DataSource

The source of the data.

§metadata: LogsMetadata

The metadata for the diagnostics payload.

§moniker: ExtendedMoniker

Moniker of the component that generated the payload.

§payload: Option<DiagnosticsHierarchy<LogsField>>

Payload containing diagnostics data, if the payload exists, else None.

§version: u64

Schema version.