pub struct ConfigurationWebsocketStreams {
pub ws_url: Option<String>,
pub api_key: Option<String>,
pub api_secret: Option<String>,
pub private_key: Option<PrivateKey>,
pub private_key_passphrase: Option<String>,
pub reconnect_delay: u64,
pub mode: WebsocketMode,
pub agent: Option<AgentConnector>,
pub handshake: Option<WebsocketHandshakeFn>,
pub time_unit: Option<TimeUnit>,
pub timestamp_provider: Option<TimestampProvider>,
/* private fields */
}Fields§
§ws_url: Option<String>§api_key: Option<String>§api_secret: Option<String>§private_key: Option<PrivateKey>§private_key_passphrase: Option<String>§reconnect_delay: u64§mode: WebsocketMode§agent: Option<AgentConnector>§handshake: Option<WebsocketHandshakeFn>Overrides how the SDK performs the TLS/WebSocket handshake. See
WebsocketHandshakeFn for details and its interaction with agent.
time_unit: Option<TimeUnit>§timestamp_provider: Option<TimestampProvider>Source of the timestamp of signed requests; defaults to the host clock.
See TimestampProvider.
Implementations§
Source§impl ConfigurationWebsocketStreams
impl ConfigurationWebsocketStreams
Sourcepub fn builder() -> ConfigurationWebsocketStreamsBuilder
pub fn builder() -> ConfigurationWebsocketStreamsBuilder
Creates a builder for ConfigurationWebsocketStreams with default settings.
§Returns
A ConfigurationWebsocketStreamsBuilder initialized with default values
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ConfigurationWebsocketStreams
impl !UnwindSafe for ConfigurationWebsocketStreams
impl Freeze for ConfigurationWebsocketStreams
impl Send for ConfigurationWebsocketStreams
impl Sync for ConfigurationWebsocketStreams
impl Unpin for ConfigurationWebsocketStreams
impl UnsafeUnpin for ConfigurationWebsocketStreams
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