pub struct Signal {
    pub received_at: DateTime<Utc>,
    pub app_id: String,
    pub client_user: String,
    pub session_id: String,
    pub signal_type: String,
    pub payload: Vec<String>,
    pub is_test_mode: bool,
}
Expand description

An instance of an outgoing telemetry signal

Fields

received_at: DateTime<Utc>

When was this signal generated

app_id: String

The App ID of this signal

client_user: String

A user identifier. This should be hashed on the client, and will be hashed + salted again on the server to break any connection to personally identifiable data.

session_id: String

A randomly generated session identifier. Should be the same over the course of the session

signal_type: String

A type name for this signal that describes the event that triggered the signal

payload: Vec<String>

Tags in the form “key:value” to attach to the signal

is_test_mode: bool

If true, mark the signal as a testing signal and only show it in a dedicated test mode UI

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.