Home
runx-contracts

runx_contracts::output

Skill output declaration types: the value shape of the runx.ai/spec

Skill output declaration types: the value shape of the runx.ai/spec output map (a field is either a bare type name or a typed field spec).

The standalone output.schema.json document is a top-level open map carrying a bare $id; it is modeled here as the transparent map newtype [Output], whose RunxSchema derive emits the committed patternProperties shape. The same BTreeMap<String, OutputField> is embedded by the agent-context envelope's output field.

Structs §

OutputFieldSpec §

pub struct runx_contracts::output::OutputFieldSpec { /* ... */ }

The expanded form of an output field declaration. Committed with additionalProperties: false and minProperties: 1 (the latter is a numeric bound the emitter does not express).

Trait Implementations §

impl Borrow for OutputFieldSpec

borrow

fn borrow(self: &Self) -> &T

impl BorrowMut for OutputFieldSpec

borrow_mut

fn borrow_mut(self: &mut Self) -> &mut T

impl CloneToUninit for OutputFieldSpec

clone_to_uninit

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl Into for OutputFieldSpec

into

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

impl From for OutputFieldSpec

from

fn from(t: T) -> T

Returns the argument unchanged.

impl TryInto for OutputFieldSpec

Error

try_into

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>

impl TryFrom for OutputFieldSpec

Error

try_from

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl Any for OutputFieldSpec

type_id

fn type_id(self: &Self) -> TypeId

impl ToOwned for OutputFieldSpec

Owned

to_owned

fn to_owned(self: &Self) -> T

clone_into

fn clone_into(self: &Self, target: &mut T)

impl Same for OutputFieldSpec

Output

impl Clone for OutputFieldSpec

clone

fn clone(self: &Self) -> OutputFieldSpec

impl Debug for OutputFieldSpec

impl PartialEq for OutputFieldSpec

eq

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

impl Serialize for OutputFieldSpec

serialize

fn serialize( self: &Self, __serializer: __S ) -> _serde::__private228::Result<<__S as >::Ok, <__S as >::Error>

impl Deserialize for OutputFieldSpec

deserialize

fn deserialize(__deserializer: __D) -> _serde::__private228::Result<Self, <__D as >::Error>

impl RunxSchema for OutputFieldSpec

json_schema

fn json_schema() -> ::serde_json::Value

impl Send for OutputFieldSpec

impl Sync for OutputFieldSpec

impl Freeze for OutputFieldSpec

impl UnsafeUnpin for OutputFieldSpec

impl Unpin for OutputFieldSpec

impl UnwindSafe for OutputFieldSpec

impl RefUnwindSafe for OutputFieldSpec

impl DeserializeOwned for OutputFieldSpec

impl StructuralPartialEq for OutputFieldSpec

impl Eq for OutputFieldSpec

Output §

pub struct runx_contracts::output::Output { /* ... */ }

The standalone output.schema.json document: a top-level open map of field name to OutputField, carrying the bare runx.ai/spec $id.

Trait Implementations §

impl Borrow for Output

borrow

fn borrow(self: &Self) -> &T

impl BorrowMut for Output

borrow_mut

fn borrow_mut(self: &mut Self) -> &mut T

impl CloneToUninit for Output

clone_to_uninit

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl Into for Output

into

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

impl From for Output

from

fn from(t: T) -> T

Returns the argument unchanged.

impl TryInto for Output

Error

try_into

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>

impl TryFrom for Output

Error

try_from

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl Any for Output

type_id

fn type_id(self: &Self) -> TypeId

impl ToOwned for Output

Owned

to_owned

fn to_owned(self: &Self) -> T

clone_into

fn clone_into(self: &Self, target: &mut T)

impl Same for Output

Output

impl Clone for Output

clone

fn clone(self: &Self) -> Output

impl Debug for Output

impl Default for Output

default

fn default() -> Output

impl PartialEq for Output

eq

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

impl Serialize for Output

serialize

fn serialize( self: &Self, __serializer: __S ) -> _serde::__private228::Result<<__S as >::Ok, <__S as >::Error>

impl Deserialize for Output

deserialize

fn deserialize(__deserializer: __D) -> _serde::__private228::Result<Self, <__D as >::Error>

impl RunxSchema for Output

json_schema

fn json_schema() -> ::serde_json::Value

impl Send for Output

impl Sync for Output

impl Freeze for Output

impl UnsafeUnpin for Output

impl Unpin for Output

impl UnwindSafe for Output

impl RefUnwindSafe for Output

impl DeserializeOwned for Output

impl StructuralPartialEq for Output

impl Eq for Output

Enums §

OutputType §

pub enum runx_contracts::output::OutputType { /* ... */ }

A declared output value type.

Trait Implementations §

impl Borrow for OutputType

borrow

fn borrow(self: &Self) -> &T

impl BorrowMut for OutputType

borrow_mut

fn borrow_mut(self: &mut Self) -> &mut T

impl CloneToUninit for OutputType

clone_to_uninit

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl Into for OutputType

into

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

impl From for OutputType

from

fn from(t: T) -> T

Returns the argument unchanged.

impl TryInto for OutputType

Error

try_into

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>

impl TryFrom for OutputType

Error

try_from

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl Any for OutputType

type_id

fn type_id(self: &Self) -> TypeId

impl ToOwned for OutputType

Owned

to_owned

fn to_owned(self: &Self) -> T

clone_into

fn clone_into(self: &Self, target: &mut T)

impl Same for OutputType

Output

impl Clone for OutputType

clone

fn clone(self: &Self) -> OutputType

impl Debug for OutputType

impl PartialEq for OutputType

eq

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

impl Serialize for OutputType

serialize

fn serialize( self: &Self, __serializer: __S ) -> _serde::__private228::Result<<__S as >::Ok, <__S as >::Error>

impl Deserialize for OutputType

deserialize

fn deserialize(__deserializer: __D) -> _serde::__private228::Result<Self, <__D as >::Error>

impl RunxSchema for OutputType

json_schema

fn json_schema() -> ::serde_json::Value

impl Send for OutputType

impl Sync for OutputType

impl Freeze for OutputType

impl UnsafeUnpin for OutputType

impl Unpin for OutputType

impl UnwindSafe for OutputType

impl RefUnwindSafe for OutputType

impl DeserializeOwned for OutputType

impl StructuralPartialEq for OutputType

impl Eq for OutputType

OutputField §

pub enum runx_contracts::output::OutputField { /* ... */ }

A single output field declaration: either a bare type name or a typed spec.

Trait Implementations §

impl Borrow for OutputField

borrow

fn borrow(self: &Self) -> &T

impl BorrowMut for OutputField

borrow_mut

fn borrow_mut(self: &mut Self) -> &mut T

impl CloneToUninit for OutputField

clone_to_uninit

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl Into for OutputField

into

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

impl From for OutputField

from

fn from(t: T) -> T

Returns the argument unchanged.

impl TryInto for OutputField

Error

try_into

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>

impl TryFrom for OutputField

Error

try_from

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl Any for OutputField

type_id

fn type_id(self: &Self) -> TypeId

impl ToOwned for OutputField

Owned

to_owned

fn to_owned(self: &Self) -> T

clone_into

fn clone_into(self: &Self, target: &mut T)

impl Same for OutputField

Output

impl Clone for OutputField

clone

fn clone(self: &Self) -> OutputField

impl Debug for OutputField

impl PartialEq for OutputField

eq

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

impl Serialize for OutputField

serialize

fn serialize( self: &Self, __serializer: __S ) -> _serde::__private228::Result<<__S as >::Ok, <__S as >::Error>

impl Deserialize for OutputField

deserialize

fn deserialize(__deserializer: __D) -> _serde::__private228::Result<Self, <__D as >::Error>

impl RunxSchema for OutputField

json_schema

fn json_schema() -> ::serde_json::Value

impl Send for OutputField

impl Sync for OutputField

impl Freeze for OutputField

impl UnsafeUnpin for OutputField

impl Unpin for OutputField

impl UnwindSafe for OutputField

impl RefUnwindSafe for OutputField

impl DeserializeOwned for OutputField

impl StructuralPartialEq for OutputField

impl Eq for OutputField