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 provided by the SDK to the engine.
Fields§
§language: Option<String>§project_name: Option<String>§framework: Option<String>§amplitude_api_key: Option<String>Trait Implementations§
Source§impl Clone for TelemetryOptions
impl Clone for TelemetryOptions
Source§fn clone(&self) -> TelemetryOptions
fn clone(&self) -> TelemetryOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TelemetryOptions
impl Debug for TelemetryOptions
Source§impl Default for TelemetryOptions
impl Default for TelemetryOptions
Source§fn default() -> TelemetryOptions
fn default() -> TelemetryOptions
Returns the “default value” for a type. Read more
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