pub struct TelemetryTestHooks {
pub anonymous_id: Option<String>,
pub runtime: Option<RuntimeInfo>,
pub database: Option<Option<DetectionInfo>>,
pub framework: Option<Option<DetectionInfo>>,
pub environment: Option<String>,
pub system_info: Option<Value>,
pub package_manager: Option<Option<DetectionInfo>>,
}Expand description
Overrides used by integration tests (Vitest mocks replacement).
Fields§
§anonymous_id: Option<String>§runtime: Option<RuntimeInfo>§database: Option<Option<DetectionInfo>>§framework: Option<Option<DetectionInfo>>§environment: Option<String>§system_info: Option<Value>§package_manager: Option<Option<DetectionInfo>>Trait Implementations§
Source§impl Clone for TelemetryTestHooks
impl Clone for TelemetryTestHooks
Source§fn clone(&self) -> TelemetryTestHooks
fn clone(&self) -> TelemetryTestHooks
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 Default for TelemetryTestHooks
impl Default for TelemetryTestHooks
Source§fn default() -> TelemetryTestHooks
fn default() -> TelemetryTestHooks
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TelemetryTestHooks
impl RefUnwindSafe for TelemetryTestHooks
impl Send for TelemetryTestHooks
impl Sync for TelemetryTestHooks
impl Unpin for TelemetryTestHooks
impl UnsafeUnpin for TelemetryTestHooks
impl UnwindSafe for TelemetryTestHooks
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