pub struct TelemetryOptions {
pub language: Option<String>,
pub project_name: Option<String>,
pub framework: Option<String>,
pub amplitude_api_key: Option<String>,
}Expand description
Worker metadata reported to the engine (language, framework, project).
Fields§
§language: Option<String>Programming language of the worker.
project_name: Option<String>Name of the project this worker belongs to.
framework: Option<String>Framework name, if applicable.
amplitude_api_key: Option<String>Amplitude API key for product analytics.
Trait Implementations§
Source§impl Clone for TelemetryOptions
impl Clone for TelemetryOptions
Source§impl Debug for TelemetryOptions
impl Debug for TelemetryOptions
Source§impl Default for TelemetryOptions
impl Default for TelemetryOptions
Source§impl<'de> Deserialize<'de> for TelemetryOptions
impl<'de> Deserialize<'de> for TelemetryOptions
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 TelemetryOptions
impl RefUnwindSafe for TelemetryOptions
impl Send for TelemetryOptions
impl Sync for TelemetryOptions
impl Unpin for TelemetryOptions
impl UnsafeUnpin for TelemetryOptions
impl UnwindSafe for TelemetryOptions
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