pub struct ChainStreamClientOptions {
pub server_url: Option<String>,
pub stream_url: Option<String>,
pub auto_connect_websocket: bool,
pub debug: bool,
}Expand description
Options for configuring the ChainStream client
Fields§
§server_url: Option<String>Base URL for the REST API
stream_url: Option<String>WebSocket URL for the Stream API
auto_connect_websocket: boolWhether to automatically connect to WebSocket on first subscription
debug: boolEnable debug logging
Trait Implementations§
Source§impl Clone for ChainStreamClientOptions
impl Clone for ChainStreamClientOptions
Source§fn clone(&self) -> ChainStreamClientOptions
fn clone(&self) -> ChainStreamClientOptions
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 ChainStreamClientOptions
impl Debug for ChainStreamClientOptions
Auto Trait Implementations§
impl Freeze for ChainStreamClientOptions
impl RefUnwindSafe for ChainStreamClientOptions
impl Send for ChainStreamClientOptions
impl Sync for ChainStreamClientOptions
impl Unpin for ChainStreamClientOptions
impl UnwindSafe for ChainStreamClientOptions
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