Trait mz_adapter::telemetry::SegmentClientExt
source · pub trait SegmentClientExt {
// Required method
fn environment_track<S>(
&self,
environment_id: &EnvironmentId,
event: S,
properties: Value,
details: EventDetails<'_>,
)
where S: Into<String>;
}
Expand description
Extension trait for mz_segment::Client
.
Required Methods§
sourcefn environment_track<S>(
&self,
environment_id: &EnvironmentId,
event: S,
properties: Value,
details: EventDetails<'_>,
)
fn environment_track<S>( &self, environment_id: &EnvironmentId, event: S, properties: Value, details: EventDetails<'_>, )
Tracks an event associated with an environment.
Object Safety§
This trait is not object safe.
Implementations on Foreign Types§
source§impl SegmentClientExt for Client
impl SegmentClientExt for Client
source§fn environment_track<S>(
&self,
environment_id: &EnvironmentId,
event: S,
properties: Value,
_: EventDetails<'_>,
)
fn environment_track<S>( &self, environment_id: &EnvironmentId, event: S, properties: Value, _: EventDetails<'_>, )
Tracks an event associated with an environment.
Various metadata about the environment is automatically attached using canonical field names.
§Panics
Panics if properties
is not a serde_json::Value::Object
.