Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.
pub struct ComponentSpec {
pub enabled: bool,
pub config: NeMoGuardrailsConfig,
}
Top-level NeMo Guardrails component wrapper.
enabled: boolWhether the component should be activated.
config: NeMoGuardrailsConfigComponent-local NeMo Guardrails config.
impl ComponentSpecimpl ComponentSpec
newpub fn new(config: NeMoGuardrailsConfig) -> Self
Creates an enabled NeMo Guardrails component spec.
impl Clone for ComponentSpecimpl Clone for ComponentSpec
clonefn clone(&self) -> ComponentSpec
clone_fromfn clone_from(&mut self, source: &Self)
impl Debug for ComponentSpecimpl Debug for ComponentSpec
fmtfn fmt(&self, f: &mut Formatter<'_>) -> Result
impl From<ComponentSpec> for PluginComponentSpecimpl From<ComponentSpec> for PluginComponentSpec
fromfn from(value: ComponentSpec) -> Self