Skip to main content

UploadSessionEnvelope

Type Alias UploadSessionEnvelope 

Source
pub type UploadSessionEnvelope = ControlObjectEnvelope<UploadSessionState>;
Expand description

Specializes a control envelope for a durable upload workflow.

Aliased Type§

pub struct UploadSessionEnvelope {
    pub kind: ControlObjectKind,
    pub format_version: u32,
    pub payload_checksum: String,
    pub state: UploadSessionState,
}

Fields§

§kind: ControlObjectKind

Durable-family discriminator that selects T and its independent version.

§format_version: u32

Family-local format version obtained from kind.

§payload_checksum: String

Digest of the payload JSON exactly as stored in the durable document, in sha256:<hex> form.

§state: UploadSessionState

Decoded control state protected by payload_checksum.