pub struct HttpSdkConfig {
pub instance_id: String,
pub tenant_id: String,
pub base_url: String,
pub request_timeout_ms: u64,
pub signal_poll_interval_ms: u64,
pub heartbeat_interval_ms: u64,
}Expand description
Configuration for the HTTP backend.
Fields§
§instance_id: StringInstance ID (required).
tenant_id: StringTenant ID (required).
base_url: StringBase URL for runtara-core HTTP API (e.g., http://127.0.0.1:8003).
request_timeout_ms: u64Request timeout in milliseconds (default: 30000).
signal_poll_interval_ms: u64Signal poll interval in milliseconds (default: 1000).
heartbeat_interval_ms: u64Heartbeat interval in milliseconds (default: 30000, 0 to disable).
Implementations§
Trait Implementations§
Source§impl Clone for HttpSdkConfig
impl Clone for HttpSdkConfig
Source§fn clone(&self) -> HttpSdkConfig
fn clone(&self) -> HttpSdkConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for HttpSdkConfig
impl RefUnwindSafe for HttpSdkConfig
impl Send for HttpSdkConfig
impl Sync for HttpSdkConfig
impl Unpin for HttpSdkConfig
impl UnsafeUnpin for HttpSdkConfig
impl UnwindSafe for HttpSdkConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more