Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

🏷️tagged_output

Struct TaggedOutput

Structured Tool output with ordered named canonical payloads.

public struct TaggedOutput has drop
Fields

tag: vector<u8>named_payload: sui::vec_map::VecMap<vector<u8>, nexus_primitives::data::NexusData>

Function new

Creates an empty tagged output.

Function with_named_payload

Adds one checked value under the supplied name.

Function with_named_payload_many

Adds checked Many values under the supplied name.

Function from_parts

Reconstructs trusted output already admitted through typed boundaries.

Function tag

Function named_payload

Function into_parts

Last updated