Struct Http Storage Config

View as MarkdownOpen in Claude

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

pub struct HttpStorageConfig {
    pub endpoint: String,
    pub headers: HashMap<String, String>,
    pub header_env: HashMap<String, String>,
    pub timeout_millis: u64,
}

HTTP endpoint settings for ATIF trajectory upload.

Completed trajectories are uploaded with POST and an application/json body. Inline headers are merged with values resolved from header_env; header_env values are environment variable names, not secret values.

Fields

endpoint: String

Destination endpoint URL. Must use http:// or https://.

headers: HashMap<String, String>

Static request headers.

header_env: HashMap<String, String>

Request headers whose values are read from environment variables.

timeout_millis: u64

Request timeout in milliseconds.

Trait Implementations

impl Clone for HttpStorageConfig

impl Clone for HttpStorageConfig

clone

fn clone(&self) -> HttpStorageConfig

clone_from

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

impl Debug for HttpStorageConfig

impl Debug for HttpStorageConfig

fmt

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

impl<'de> Deserialize<'de> for HttpStorageConfig

impl<'de> Deserialize<'de> for HttpStorageConfig

deserialize

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

impl Serialize for HttpStorageConfig

impl Serialize for HttpStorageConfig

serialize

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