diff --git a/appinsights/src/telemetry/remote_dependency.rs b/appinsights/src/telemetry/remote_dependency.rs index f399483..df25f1f 100644 --- a/appinsights/src/telemetry/remote_dependency.rs +++ b/appinsights/src/telemetry/remote_dependency.rs @@ -115,6 +115,11 @@ impl RemoteDependencyTelemetry { &mut self.measurements } + /// Returns mutable reference to the timestamp. + pub fn timestamp_mut(&mut self) -> &mut DateTime { + &mut self.timestamp + } + /// Sets the dependency id. Use this to link other telemetry to this dependency by setting their operation /// parent id to this id. ///