pub struct JobResultChunkPayload {
pub result_id: String,
pub chunk_seq: u64,
pub data: String,
pub encoding: ResultChunkEncoding,
pub more: bool,
}Expand description
Payload for job.result_chunk (ARCP v1.1 §8.4 — result_chunk).
Streams the final result of a job in ordered fragments. The agent
MUST emit chunks for one result_id in chunk_seq order; the
terminating job.completed references the same result_id. Implementations
MUST NOT mix inline result and result_chunk for the same job.
Fields§
§result_id: StringStable identifier for the assembled result. Generated by the runtime (or agent) when streaming begins.
chunk_seq: u640-based monotonic chunk index per result_id.
data: StringChunk payload (text or base64-encoded bytes; see encoding).
encoding: ResultChunkEncodingWire-level encoding of data.
more: booltrue when more chunks follow; false on the terminal chunk.
Trait Implementations§
Source§impl Clone for JobResultChunkPayload
impl Clone for JobResultChunkPayload
Source§fn clone(&self) -> JobResultChunkPayload
fn clone(&self) -> JobResultChunkPayload
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for JobResultChunkPayload
impl Debug for JobResultChunkPayload
Source§impl<'de> Deserialize<'de> for JobResultChunkPayload
impl<'de> Deserialize<'de> for JobResultChunkPayload
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for JobResultChunkPayload
impl PartialEq for JobResultChunkPayload
Source§fn eq(&self, other: &JobResultChunkPayload) -> bool
fn eq(&self, other: &JobResultChunkPayload) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for JobResultChunkPayload
impl Serialize for JobResultChunkPayload
impl Eq for JobResultChunkPayload
impl StructuralPartialEq for JobResultChunkPayload
Auto Trait Implementations§
impl Freeze for JobResultChunkPayload
impl RefUnwindSafe for JobResultChunkPayload
impl Send for JobResultChunkPayload
impl Sync for JobResultChunkPayload
impl Unpin for JobResultChunkPayload
impl UnsafeUnpin for JobResultChunkPayload
impl UnwindSafe for JobResultChunkPayload
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more