Struct Local Backend Config

View as Markdown

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

pub struct LocalBackendConfig {
    pub python_module: Option<String>,
}

Local-backend settings for the Python nemoguardrails runtime.

Fields

python_module: Option<String>

Optional import path for the Python runtime module.

Trait Implementations

impl Clone for LocalBackendConfig

impl Clone for LocalBackendConfig

clone

fn clone(&self) -> LocalBackendConfig

clone_from

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

impl Debug for LocalBackendConfig

impl Debug for LocalBackendConfig

fmt

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

impl Default for LocalBackendConfig

impl Default for LocalBackendConfig

default

fn default() -> LocalBackendConfig

impl<'de> Deserialize<'de> for LocalBackendConfig

impl<'de> Deserialize<'de> for LocalBackendConfig

deserialize

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

impl EditorConfig for LocalBackendConfig

impl EditorConfig for LocalBackendConfig

editor_schema

fn editor_schema() -> &'static EditorSchema

impl Serialize for LocalBackendConfig

impl Serialize for LocalBackendConfig

serialize

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