Struct Worker Plugin Load Spec

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.

pub struct WorkerPluginLoadSpec {
    pub plugin_id: String,
    pub manifest_ref: String,
    pub environment_ref: Option<String>,
    pub config: Map<String, Value>,
}

Worker plugin load request derived from host dynamic-plugin state.

Fields

plugin_id: String

Expected plugin id.

manifest_ref: String

Path to the authored relay-plugin.toml.

environment_ref: Option<String>

Relay-managed per-plugin runtime environment.

This is required for Python workers and ignored by other worker runtimes.

config: Map<String, Value>

Resolved dynamic plugin config passed to the worker.

Trait Implementations

impl Clone for WorkerPluginLoadSpec

impl Clone for WorkerPluginLoadSpec

clone

fn clone(&self) -> WorkerPluginLoadSpec

clone_from

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

impl Debug for WorkerPluginLoadSpec

impl Debug for WorkerPluginLoadSpec

fmt

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

impl PartialEq for WorkerPluginLoadSpec

impl PartialEq for WorkerPluginLoadSpec

eq

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

ne

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

impl Eq for WorkerPluginLoadSpec

impl Eq for WorkerPluginLoadSpec

impl StructuralPartialEq for WorkerPluginLoadSpec

impl StructuralPartialEq for WorkerPluginLoadSpec