pub enum TelemetryContentCaptureMode {
Off,
MetadataOnly,
RedactedSummary,
PayloadRefs,
RawContent,
}Expand description
Enumerates the finite telemetry content capture mode cases. Serialized names are part of the SDK contract; update fixtures when variants change.
Variants§
Off
Use this variant when the contract needs to represent off; selecting it has no side effect by itself.
MetadataOnly
Use this variant when the contract needs to represent metadata only; selecting it has no side effect by itself.
RedactedSummary
Use this variant when the contract needs to represent redacted summary; selecting it has no side effect by itself.
PayloadRefs
Use this variant when the contract needs to represent payload refs; selecting it has no side effect by itself.
RawContent
Use this variant when the contract needs to represent raw content; selecting it has no side effect by itself.
Implementations§
Source§impl TelemetryContentCaptureMode
impl TelemetryContentCaptureMode
Sourcepub fn captures_raw_content(&self) -> bool
pub fn captures_raw_content(&self) -> bool
Returns whether captures raw content applies for this contract. This is data-only and does not perform I/O, call host ports, append journals, publish events, or start processes.
Trait Implementations§
Source§impl Clone for TelemetryContentCaptureMode
impl Clone for TelemetryContentCaptureMode
Source§fn clone(&self) -> TelemetryContentCaptureMode
fn clone(&self) -> TelemetryContentCaptureMode
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for TelemetryContentCaptureMode
impl Debug for TelemetryContentCaptureMode
Source§impl Default for TelemetryContentCaptureMode
impl Default for TelemetryContentCaptureMode
Source§fn default() -> TelemetryContentCaptureMode
fn default() -> TelemetryContentCaptureMode
Source§impl<'de> Deserialize<'de> for TelemetryContentCaptureMode
impl<'de> Deserialize<'de> for TelemetryContentCaptureMode
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>,
Source§impl PartialEq for TelemetryContentCaptureMode
impl PartialEq for TelemetryContentCaptureMode
Source§fn eq(&self, other: &TelemetryContentCaptureMode) -> bool
fn eq(&self, other: &TelemetryContentCaptureMode) -> bool
self and other values to be equal, and is used by ==.