pub struct StreamingConfig {
pub endpoints: Vec<StreamingEndpoint>,
pub generate_client: bool,
pub client_module_name: String,
pub event_parser_helpers: bool,
pub reconnection_config: Option<ReconnectionConfig>,
}Expand description
Configuration for SSE streaming client generation
Fields§
§endpoints: Vec<StreamingEndpoint>List of streaming endpoints to generate clients for
generate_client: boolWhether to generate streaming client implementations
client_module_name: StringName of the generated streaming client module
event_parser_helpers: boolWhether to generate event parsing helper utilities
reconnection_config: Option<ReconnectionConfig>Configuration for automatic reconnection logic
Trait Implementations§
Source§impl Clone for StreamingConfig
impl Clone for StreamingConfig
Source§fn clone(&self) -> StreamingConfig
fn clone(&self) -> StreamingConfig
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 moreSource§impl Debug for StreamingConfig
impl Debug for StreamingConfig
Auto Trait Implementations§
impl Freeze for StreamingConfig
impl RefUnwindSafe for StreamingConfig
impl Send for StreamingConfig
impl Sync for StreamingConfig
impl Unpin for StreamingConfig
impl UnwindSafe for StreamingConfig
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