Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.
pub struct RemoteBackendConfig {
pub endpoint: Option<String>,
pub config_id: Option<String>,
pub config_ids: Vec<String>,
pub headers: HashMap<String, String>,
pub timeout_millis: u64,
}
Remote-backend settings for a hosted NeMo Guardrails service.
endpoint: Option<String>Base URL for the remote Guardrails service.
config_id: Option<String>One remote Guardrails config identifier.
config_ids: Vec<String>Multiple remote Guardrails config identifiers to combine.
headers: HashMap<String, String>Static request headers sent to the remote service.
timeout_millis: u64Request timeout in milliseconds.
impl Clone for RemoteBackendConfigimpl Clone for RemoteBackendConfig
clonefn clone(&self) -> RemoteBackendConfig
clone_fromfn clone_from(&mut self, source: &Self)
impl Debug for RemoteBackendConfigimpl Debug for RemoteBackendConfig
fmtfn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Default for RemoteBackendConfigimpl Default for RemoteBackendConfig
defaultfn default() -> Self
impl<'de> Deserialize<'de> for RemoteBackendConfigimpl<'de> Deserialize<'de> for RemoteBackendConfig
deserializefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl EditorConfig for RemoteBackendConfigimpl EditorConfig for RemoteBackendConfig
editor_schemafn editor_schema() -> &'static EditorSchema
impl Serialize for RemoteBackendConfigimpl Serialize for RemoteBackendConfig
serializefn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
__S: Serializer,