pub struct KickWebSocketOptions {
    pub debug: bool,
    pub auto_reconnect: bool,
    pub reconnect_interval: u64,
    pub enable_buffer: bool,
    pub buffer_size: usize,
    pub filtered_events: Vec<KickEventType>,
    pub custom_user_agent: Option<String>,
    pub rotate_user_agent: bool,
}Expand description
Configuration options for the WebSocket connection
Fields§
§debug: bool§auto_reconnect: bool§reconnect_interval: u64§enable_buffer: bool§buffer_size: usize§filtered_events: Vec<KickEventType>§custom_user_agent: Option<String>§rotate_user_agent: boolTrait Implementations§
Source§impl Clone for KickWebSocketOptions
 
impl Clone for KickWebSocketOptions
Source§fn clone(&self) -> KickWebSocketOptions
 
fn clone(&self) -> KickWebSocketOptions
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 KickWebSocketOptions
 
impl Debug for KickWebSocketOptions
Auto Trait Implementations§
impl Freeze for KickWebSocketOptions
impl RefUnwindSafe for KickWebSocketOptions
impl Send for KickWebSocketOptions
impl Sync for KickWebSocketOptions
impl Unpin for KickWebSocketOptions
impl UnwindSafe for KickWebSocketOptions
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