pub struct OutputDeliveryCandidate {
pub destination: DestinationRef,
pub preferred_sink_ref: Option<OutputSinkRef>,
pub delivery_kind: OutputDeliveryKind,
pub source_message_id: Option<MessageId>,
pub validated_output_id: Option<ValidatedOutputId>,
pub content_refs: Vec<ContentRef>,
pub redacted_summary: String,
pub raw_content: Option<String>,
pub requested_content_mode: Option<OutputContentMode>,
pub privacy: PrivacyClass,
pub retention: RetentionClass,
pub policy: OutputDeliveryPolicy,
}Expand description
Holds output delivery candidate 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§
§destination: DestinationRefDestination label or ref for this item; it is metadata and does not deliver content by itself.
preferred_sink_ref: Option<OutputSinkRef>Typed preferred sink ref reference. Resolving or executing it is a separate policy-gated step.
delivery_kind: OutputDeliveryKindOutput delivery setting or policy. Delivery coordinators use it to decide sink mode, dedupe, and required evidence.
source_message_id: Option<MessageId>Stable source message id used for typed lineage, lookup, or dedupe.
validated_output_id: Option<ValidatedOutputId>Stable validated output id used for typed lineage, lookup, or dedupe.
content_refs: Vec<ContentRef>Content references associated with this record; resolving them is a separate policy-gated step.
redacted_summary: StringRedacted human-readable summary safe for events, telemetry, and logs.
raw_content: Option<String>Raw content or raw-content control for this value. Use it only when policy explicitly allows raw content capture or delivery.
requested_content_mode: Option<OutputContentMode>Optional requested content mode value. When absent, callers should use the documented default or skip that optional behavior.
privacy: PrivacyClassPrivacy class used for projection, telemetry, and raw-content access decisions.
retention: RetentionClassRetention class used by hosts and sinks when storing or exporting this item.
policy: OutputDeliveryPolicyPolicy used by this record or request.
Implementations§
Source§impl OutputDeliveryCandidate
impl OutputDeliveryCandidate
Sourcepub fn final_message(
destination: DestinationRef,
sink_ref: OutputSinkRef,
content_ref: ContentRef,
policy_ref: PolicyRef,
) -> Self
pub fn final_message( destination: DestinationRef, sink_ref: OutputSinkRef, content_ref: ContentRef, policy_ref: PolicyRef, ) -> Self
Builds the final message value. This is data construction and performs no I/O, journal append, event publication, or process work.
Trait Implementations§
Source§impl Clone for OutputDeliveryCandidate
impl Clone for OutputDeliveryCandidate
Source§fn clone(&self) -> OutputDeliveryCandidate
fn clone(&self) -> OutputDeliveryCandidate
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 OutputDeliveryCandidate
impl Debug for OutputDeliveryCandidate
Source§impl PartialEq for OutputDeliveryCandidate
impl PartialEq for OutputDeliveryCandidate
Source§fn eq(&self, other: &OutputDeliveryCandidate) -> bool
fn eq(&self, other: &OutputDeliveryCandidate) -> bool
self and other values to be equal, and is used by ==.