pub struct RealtimeOutputFrame {
pub frame_id: RealtimeFrameId,
pub response_id: RealtimeResponseId,
pub media_kind: RealtimeMediaKind,
pub content_refs: Vec<ContentRef>,
pub redacted_summary: String,
pub cursor: StreamCursor,
pub privacy: PrivacyClass,
pub retention: RetentionClass,
}Expand description
Carries the realtime output frame record payload for journal, event, or fixture surfaces. Creating or cloning it only preserves serialized SDK state; append, publish, replay, or export effects are documented on the runtime and port methods that store it.
Fields§
§frame_id: RealtimeFrameIdStable frame id used for typed lineage, lookup, or dedupe.
response_id: RealtimeResponseIdStable response id used for typed lineage, lookup, or dedupe.
media_kind: RealtimeMediaKindKind discriminator for media kind. Use it to route finite match arms without parsing display text.
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.
cursor: StreamCursorCursor identifying a replay, export, or subscription position. Use it to resume without widening the original scope.
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.
Implementations§
Source§impl RealtimeOutputFrame
impl RealtimeOutputFrame
Sourcepub fn transcript(
response_id: impl Into<String>,
content_ref: impl Into<String>,
redacted_summary: impl Into<String>,
) -> Self
pub fn transcript( response_id: impl Into<String>, content_ref: impl Into<String>, redacted_summary: impl Into<String>, ) -> Self
Builds the transcript value with the documented defaults. This is data-only and does not perform I/O, call host ports, append journals, publish events, or start processes.
Sourcepub fn with_cursor(self, cursor: StreamCursor) -> Self
pub fn with_cursor(self, cursor: StreamCursor) -> Self
Returns this value with its cursor setting replaced. The method follows builder-style data construction and does not execute external work.
Trait Implementations§
Source§impl Clone for RealtimeOutputFrame
impl Clone for RealtimeOutputFrame
Source§fn clone(&self) -> RealtimeOutputFrame
fn clone(&self) -> RealtimeOutputFrame
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 RealtimeOutputFrame
impl Debug for RealtimeOutputFrame
Source§impl<'de> Deserialize<'de> for RealtimeOutputFrame
impl<'de> Deserialize<'de> for RealtimeOutputFrame
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 RealtimeOutputFrame
impl PartialEq for RealtimeOutputFrame
Source§fn eq(&self, other: &RealtimeOutputFrame) -> bool
fn eq(&self, other: &RealtimeOutputFrame) -> bool
self and other values to be equal, and is used by ==.