pub struct TelemetryOptions {
pub enabled: Option<bool>,
pub debug: bool,
}Expand description
Telemetry collection settings (parity with Better Auth telemetry init option).
Fields§
§enabled: Option<bool>When None, option-side telemetry is off unless overridden by environment.
debug: boolTrait 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 PartialEq for TelemetryOptions
impl PartialEq for TelemetryOptions
Source§fn eq(&self, other: &TelemetryOptions) -> bool
fn eq(&self, other: &TelemetryOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for TelemetryOptions
impl StructuralPartialEq for TelemetryOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.