pub struct TelemetryOptions {
pub enabled: Option<bool>,
pub endpoint: Option<String>,
pub sdk_name: Option<String>,
}Expand description
Per-verification override for persisted failure telemetry consent.
Fields§
§enabled: Option<bool>Override the saved preference for this verification. None uses the
environment or saved per-user setting and prompts on first interactive use.
endpoint: Option<String>Override the Encypher ingest URL, mainly for self-hosting and tests.
sdk_name: Option<String>Binding name included in the event, such as rust, python, or go.
Implementations§
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 TelemetryOptionswhere
TelemetryOptions: Default,
impl<'de> Deserialize<'de> for TelemetryOptionswhere
TelemetryOptions: 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 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