pub struct TelemetryContentCaptureRequest {
pub policy: ContentCapturePolicy,
pub sink: TelemetrySinkSpec,
pub requested_mode: TelemetryContentCaptureMode,
pub source_permits_content: bool,
pub retention_active: bool,
pub deterministic_sample_included: bool,
pub requested_bytes: u64,
pub redaction_policy_id: String,
}Expand description
Holds telemetry content capture request application-layer state or configuration. Use it with the documented coordinator methods; run, journal, event, provider, or port effects are called out on those methods rather than on construction.
Fields§
§policy: ContentCapturePolicyPolicy used by this record or request.
sink: TelemetrySinkSpecSink used by this record or request.
requested_mode: TelemetryContentCaptureModeRequested mode used by this record or request.
source_permits_content: boolWhether source permits content is enabled. Policy, validation, or routing code uses this flag to choose the explicit behavior.
retention_active: boolRetention class for referenced content or records. Stores and telemetry sinks use it to decide how long evidence may be kept.
deterministic_sample_included: boolWhether deterministic telemetry sampling included this projection after policy gates. False means the projection should be dropped for sampled sinks even if retention is active.
requested_bytes: u64requested bytes used for bounds checks, summaries, or truncation evidence.
redaction_policy_id: StringStable redaction policy id used for typed lineage, lookup, or dedupe.
Trait Implementations§
Source§impl Clone for TelemetryContentCaptureRequest
impl Clone for TelemetryContentCaptureRequest
Source§fn clone(&self) -> TelemetryContentCaptureRequest
fn clone(&self) -> TelemetryContentCaptureRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl<'de> Deserialize<'de> for TelemetryContentCaptureRequest
impl<'de> Deserialize<'de> for TelemetryContentCaptureRequest
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>,
impl Eq for TelemetryContentCaptureRequest
Source§impl PartialEq for TelemetryContentCaptureRequest
impl PartialEq for TelemetryContentCaptureRequest
Source§fn eq(&self, other: &TelemetryContentCaptureRequest) -> bool
fn eq(&self, other: &TelemetryContentCaptureRequest) -> bool
self and other values to be equal, and is used by ==.