pub struct CachedClientConfig {
pub stocks_feed: Arc<dyn Fn() -> DataFeed + Send + Sync>,
pub options_feed: OptionsFeed,
pub price_ttl: Duration,
}Fields§
§stocks_feed: Arc<dyn Fn() -> DataFeed + Send + Sync>§options_feed: OptionsFeed§price_ttl: DurationTrait Implementations§
Source§impl Clone for CachedClientConfig
impl Clone for CachedClientConfig
Auto Trait Implementations§
impl !RefUnwindSafe for CachedClientConfig
impl !UnwindSafe for CachedClientConfig
impl Freeze for CachedClientConfig
impl Send for CachedClientConfig
impl Sync for CachedClientConfig
impl Unpin for CachedClientConfig
impl UnsafeUnpin for CachedClientConfig
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