pub struct NatsInputConfig {
pub connection_config: ConnectOptions,
pub stream_name: String,
pub inactivity_timeout_secs: u64,
pub retry_interval_secs: u64,
pub consumer_config: ConsumerConfig,
}Fields§
§connection_config: ConnectOptions§stream_name: String§inactivity_timeout_secs: u64Maximum time in seconds to wait for the next message before running a stream/server health check. Must be at least 1.
retry_interval_secs: u64Delay between automatic reconnect attempts while in retry mode. Must be at least 1.
consumer_config: ConsumerConfigTrait Implementations§
Source§impl Clone for NatsInputConfig
impl Clone for NatsInputConfig
Source§impl Debug for NatsInputConfig
impl Debug for NatsInputConfig
Source§impl<'de> Deserialize<'de> for NatsInputConfig
impl<'de> Deserialize<'de> for NatsInputConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for NatsInputConfig
Source§impl PartialEq for NatsInputConfig
impl PartialEq for NatsInputConfig
Source§impl Serialize for NatsInputConfig
impl Serialize for NatsInputConfig
impl StructuralPartialEq for NatsInputConfig
Auto Trait Implementations§
impl Forget for NatsInputConfig
impl Freeze for NatsInputConfig
impl Move for NatsInputConfig
impl RefUnwindSafe for NatsInputConfig
impl Send for NatsInputConfig
impl Sync for NatsInputConfig
impl Unpin for NatsInputConfig
impl UnsafeUnpin for NatsInputConfig
impl UnwindSafe for NatsInputConfig
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.