Struct Local Backend Config
Generated from cargo doc --no-deps -p nemo-relay-builtins -p nemo-relay-diagnostics -p nemo-relay-logging -p nemo-relay-plugin-host -p nemo-relay-codecs -p nemo-relay -p nemo-relay-runtime -p nemo-relay-model-pricing -p nemo-relay-resource-metrics -p nemo-relay-observability -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 LocalBackendConfig {
pub backend: Option<String>,
pub model_id: Option<String>,
pub detector_profile: Option<String>,
pub allow_network: Option<bool>,
pub max_latency_ms: Option<u64>,
}
Local-backend settings for a future in-process local-model runtime.
Fields
backend: Option<String>
Optional local-model backend identifier.
model_id: Option<String>
Optional model identifier reserved for future local-model runtimes.
detector_profile: Option<String>
Optional detector profile reserved for future local-model runtimes.
allow_network: Option<bool>
Whether a future local-model backend may use network calls.
max_latency_ms: Option<u64>
Target latency budget hint for a future local-model backend.
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 JsonSchema for LocalBackendConfig
impl JsonSchema for LocalBackendConfig
schema_name
fn schema_name() -> String
schema_id
fn schema_id() -> Cow<'static, str>
json_schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
is_referenceable
fn is_referenceable() -> bool
impl Serialize for LocalBackendConfig
impl Serialize for LocalBackendConfig
serialize
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
__S: Serializer,