pub struct TelemetryConfig {
pub enabled: bool,
}Fields§
§enabled: boolCLEANLIB-627 (D-3, PM-ratified c774228): telemetry is OFF by default —
opt-in, not opt-out. Do NOT read this field to decide whether telemetry
is on: a persisted true is not consent (it only ever reached disk as a
save() side effect of the old default-on struct — a pre-ticked box,
which GDPR Recital 32 / Planet49 rule out as consent). Call
telemetry_enabled instead — the file can turn telemetry OFF but never
ON. There is no emitter yet, so nothing is sent regardless; this is
consent hygiene ahead of one existing.
Trait Implementations§
Source§impl Debug for TelemetryConfig
impl Debug for TelemetryConfig
Source§impl Default for TelemetryConfig
impl Default for TelemetryConfig
Source§impl<'de> Deserialize<'de> for TelemetryConfigwhere
TelemetryConfig: Default,
impl<'de> Deserialize<'de> for TelemetryConfigwhere
TelemetryConfig: Default,
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 TelemetryConfig
impl RefUnwindSafe for TelemetryConfig
impl Send for TelemetryConfig
impl Sync for TelemetryConfig
impl Unpin for TelemetryConfig
impl UnsafeUnpin for TelemetryConfig
impl UnwindSafe for TelemetryConfig
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