pub struct TranscriptSubscription {
pub namespace: String,
pub workflow_id: Option<ProtoWorkflowId>,
pub activity_id: Option<ProtoActivityId>,
pub attempt: u32,
pub after_seq: Option<u64>,
}Expand description
Subscribe to the agent-observability transcript for one
(workflow, activity, attempt) (NOI-5b).
Namespace-scoped: the transcript belongs to the workflow the activity runs
under, so this carries the same namespace + workflow_id the per-workflow
event subscription does, plus the activity_id/attempt axes that pin the
exact O-keyspace stream. The optional after_seq resume cursor is the
highest store_seq the client has already applied; the server replays the
durable O tail with store_seq > after_seq then splices onto the live
broadcast with no gap and no duplicate (the same splice contract the workflow
path’s resume_from_seq uses, but keyed on the commit-allocated store_seq).
Fields§
§namespace: StringCaller namespace used for adapter-boundary authorisation (the workflow’s namespace, identical to the per-workflow event subscription).
workflow_id: Option<ProtoWorkflowId>Workflow whose activity transcript is requested.
activity_id: Option<ProtoActivityId>Activity within the workflow whose transcript is requested.
attempt: u32Attempt number — the third stream axis. Two attempts of one activity are DISTINCT transcript streams.
after_seq: Option<u64>Highest store_seq already applied by the client; the server suppresses
durable records and live deltas with store_seq <= after_seq so a
reconnect does not re-deliver them. Absent (None) = a fresh subscriber
that has applied nothing and must see the full durable transcript
including store_seq == 0.
Implementations§
Trait Implementations§
Source§impl Clone for TranscriptSubscription
impl Clone for TranscriptSubscription
Source§fn clone(&self) -> TranscriptSubscription
fn clone(&self) -> TranscriptSubscription
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 TranscriptSubscription
impl Debug for TranscriptSubscription
Source§impl Default for TranscriptSubscription
impl Default for TranscriptSubscription
Source§impl<'de> Deserialize<'de> for TranscriptSubscription
impl<'de> Deserialize<'de> for TranscriptSubscription
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 TranscriptSubscription
Source§impl Message for TranscriptSubscription
impl Message for TranscriptSubscription
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.