devtools_wire_format/generated/
rs.devtools.logs.rs

1// This file is @generated by prost-build.
2#[allow(clippy::derive_partial_eq_without_eq)]
3#[derive(Clone, PartialEq, ::prost::Message)]
4pub struct Update {
5    /// A list of log events that happened since the last update.
6    #[prost(message, repeated, tag = "1")]
7    pub log_events: ::prost::alloc::vec::Vec<LogEvent>,
8    /// A count of how many log events were dropped because
9    /// the event buffer was at capacity.
10    ///
11    /// If everything is working correctly, this should be 0. If this
12    /// number is greater than zero this indicates the event buffers capacity
13    /// should be increased or the publish interval decreased.
14    #[prost(uint64, tag = "2")]
15    pub dropped_events: u64,
16}
17#[allow(clippy::derive_partial_eq_without_eq)]
18#[derive(Clone, PartialEq, ::prost::Message)]
19pub struct LogEvent {
20    /// The main message body of the log.
21    #[prost(string, tag = "1")]
22    pub message: ::prost::alloc::string::String,
23    /// Log events can happen inside of spans and if they do, this field will indicate which span it was.
24    #[prost(uint64, optional, tag = "2")]
25    pub parent: ::core::option::Option<u64>,
26    /// Identifier for metadata describing static characteristics of all spans originating
27    /// from that call site, such as its name, source code location, verbosity level, and
28    /// the names of its fields.
29    #[prost(uint64, tag = "3")]
30    pub metadata_id: u64,
31    /// User-defined key-value pairs of arbitrary data associated with the event.
32    #[prost(message, repeated, tag = "4")]
33    pub fields: ::prost::alloc::vec::Vec<super::common::Field>,
34    /// Timestamp for the log event.
35    #[prost(message, optional, tag = "5")]
36    pub at: ::core::option::Option<::prost_types::Timestamp>,
37}