pub struct EventEmitterConfig {
pub emitter_type: EventEmitterType,
pub target: String,
pub auth: Option<EmitterAuth>,
pub batch_size: usize,
pub flush_interval_ms: u64,
}Expand description
Event emitter configuration.
Fields§
§emitter_type: EventEmitterTypeEmitter type.
target: StringTarget endpoint/topic.
auth: Option<EmitterAuth>Authentication.
batch_size: usizeBatch size for batched emission.
flush_interval_ms: u64Flush interval in milliseconds.
Trait Implementations§
Source§impl Clone for EventEmitterConfig
impl Clone for EventEmitterConfig
Source§fn clone(&self) -> EventEmitterConfig
fn clone(&self) -> EventEmitterConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EventEmitterConfig
impl Debug for EventEmitterConfig
Source§impl<'de> Deserialize<'de> for EventEmitterConfig
impl<'de> Deserialize<'de> for EventEmitterConfig
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
Auto Trait Implementations§
impl Freeze for EventEmitterConfig
impl RefUnwindSafe for EventEmitterConfig
impl Send for EventEmitterConfig
impl Sync for EventEmitterConfig
impl Unpin for EventEmitterConfig
impl UnsafeUnpin for EventEmitterConfig
impl UnwindSafe for EventEmitterConfig
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