pub struct WSConnectConfig {
pub connect_portfolio_stream: bool,
pub connect_market_data_stream_v3: bool,
pub portfolio_stream_update_types: Option<HashSet<PortfolioUpdateType>>,
pub portfolio_feed_callback: Option<Box<dyn FnMut(PortfolioFeedResponse) + Send + Sync>>,
pub market_data_feed_v3_callback: Option<Box<dyn FnMut(FeedResponse) + Send + Sync>>,
}Fields§
§connect_portfolio_stream: bool§connect_market_data_stream_v3: bool§portfolio_stream_update_types: Option<HashSet<PortfolioUpdateType>>§portfolio_feed_callback: Option<Box<dyn FnMut(PortfolioFeedResponse) + Send + Sync>>§market_data_feed_v3_callback: Option<Box<dyn FnMut(FeedResponse) + Send + Sync>>Auto Trait Implementations§
impl !RefUnwindSafe for WSConnectConfig
impl !UnwindSafe for WSConnectConfig
impl Freeze for WSConnectConfig
impl Send for WSConnectConfig
impl Sync for WSConnectConfig
impl Unpin for WSConnectConfig
impl UnsafeUnpin for WSConnectConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more