Struct Adapter Invocation

View as Markdown

Generated from cargo doc --no-deps -p nemo-fabric-core.

pub struct AdapterInvocation {
    pub runtime_context: RuntimeContext,
    pub request: RunRequest,
}

One invocation against an initialized adapter runtime.

Fields

runtime_context: RuntimeContext

Invocation context generated by NeMo Fabric.

request: RunRequest

Typed caller request for this invocation.

Trait Implementations

impl Clone for AdapterInvocation

impl Clone for AdapterInvocation

clone

fn clone(&self) -> AdapterInvocation

clone_from

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

impl Debug for AdapterInvocation

impl Debug for AdapterInvocation

fmt

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

impl<'de> Deserialize<'de> for AdapterInvocation

impl<'de> Deserialize<'de> for AdapterInvocation

deserialize

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

impl JsonSchema for AdapterInvocation

impl JsonSchema for AdapterInvocation

schema_name

fn schema_name() -> Cow<'static, str>

schema_id

fn schema_id() -> Cow<'static, str>

json_schema

fn json_schema(generator: &mut SchemaGenerator) -> Schema

inline_schema

fn inline_schema() -> bool

impl PartialEq for AdapterInvocation

impl PartialEq for AdapterInvocation

eq

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

ne

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

impl Serialize for AdapterInvocation

impl Serialize for AdapterInvocation

serialize

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

impl StructuralPartialEq for AdapterInvocation

impl StructuralPartialEq for AdapterInvocation