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: String,
}
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: String
If true
, mark the signal as a testing signal and only show it in a dedicated test mode UI
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Signal
impl<'de> Deserialize<'de> for Signal
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
Auto Trait Implementations§
impl Freeze for Signal
impl RefUnwindSafe for Signal
impl Send for Signal
impl Sync for Signal
impl Unpin for Signal
impl UnwindSafe for Signal
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