Struct google_cloudtrace2::api::MessageEvent [−][src]
pub struct MessageEvent {
pub compressed_size_bytes: Option<String>,
pub id: Option<String>,
pub type_: Option<String>,
pub uncompressed_size_bytes: Option<String>,
}Expand description
An event describing a message sent/received between Spans.
This type is not used in any activity, and only used as part of another schema.
Fields
compressed_size_bytes: Option<String>The number of compressed bytes sent or received. If missing assumed to be the same size as uncompressed.
id: Option<String>An identifier for the MessageEvent’s message that can be used to match SENT and RECEIVED MessageEvents. It is recommended to be unique within a Span.
type_: Option<String>Type of MessageEvent. Indicates whether the message was sent or received.
uncompressed_size_bytes: Option<String>The number of uncompressed bytes sent or received.
Trait Implementations
Returns the “default value” for a type. Read more
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
Auto Trait Implementations
impl RefUnwindSafe for MessageEvent
impl Send for MessageEvent
impl Sync for MessageEvent
impl Unpin for MessageEvent
impl UnwindSafe for MessageEvent
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more