Enum Block Content Type

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.

1pub enum BlockContentType {
2 Text,
3 ToolSchema,
4 ToolResult,
5 StructuredOutput,
6 Image,
7}

Content type discriminant for a prompt block.

Variants

Text

Text

Plain text content.

ToolSchema

ToolSchema

Tool/function definition schema (JSON Schema).

ToolResult

ToolResult

Tool/function call result.

StructuredOutput

StructuredOutput

Structured output (e.g., JSON output).

Image

Image

Image content (base64 or URL reference).

Trait Implementations

impl Clone for BlockContentType

impl Clone for BlockContentType

clone

fn clone(&self) -> BlockContentType

clone_from

fn clone_from(&mut self, source: &Self)

impl Debug for BlockContentType

impl Debug for BlockContentType

fmt

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl<'de> Deserialize<'de> for BlockContentType

impl<'de> Deserialize<'de> for BlockContentType

deserialize

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,

impl Hash for BlockContentType

impl Hash for BlockContentType

hash

fn hash<__H: Hasher>(&self, state: &mut __H)

hash_slice

fn hash_slice<H>(data: &[Self], state: &mut H)where
    H: Hasher,
    Self: Sized,

impl PartialEq for BlockContentType

impl PartialEq for BlockContentType

eq

fn eq(&self, other: &BlockContentType) -> bool

ne

fn ne(&self, other: &Rhs) -> bool

impl Serialize for BlockContentType

impl Serialize for BlockContentType

serialize

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
    __S: Serializer,

impl Copy for BlockContentType

impl Copy for BlockContentType

impl Eq for BlockContentType

impl Eq for BlockContentType

impl StructuralPartialEq for BlockContentType

impl StructuralPartialEq for BlockContentType