pub struct TradingViewClientConfig {
pub endpoints: Endpoints,
pub transport: TransportConfig,
pub auth: AuthConfig,
pub history: HistoryClientConfig,
pub snapshot_batch: SnapshotBatchConfig,
pub request_budget: RequestBudget,
pub observer: Option<Arc<dyn ClientObserver>>,
}Fields§
§endpoints: Endpoints§transport: TransportConfig§auth: AuthConfig§history: HistoryClientConfig§snapshot_batch: SnapshotBatchConfig§request_budget: RequestBudget§observer: Option<Arc<dyn ClientObserver>>Implementations§
Source§impl TradingViewClientConfig
impl TradingViewClientConfig
Sourcepub fn builder() -> TradingViewClientConfigBuilder
pub fn builder() -> TradingViewClientConfigBuilder
Create an instance of TradingViewClientConfig using the builder syntax
Source§impl TradingViewClientConfig
impl TradingViewClientConfig
pub fn backend_history() -> Self
pub fn research() -> Self
pub fn interactive() -> Self
Trait Implementations§
Source§impl Clone for TradingViewClientConfig
impl Clone for TradingViewClientConfig
Source§fn clone(&self) -> TradingViewClientConfig
fn clone(&self) -> TradingViewClientConfig
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 TradingViewClientConfig
impl Debug for TradingViewClientConfig
Auto Trait Implementations§
impl Freeze for TradingViewClientConfig
impl !RefUnwindSafe for TradingViewClientConfig
impl Send for TradingViewClientConfig
impl Sync for TradingViewClientConfig
impl Unpin for TradingViewClientConfig
impl UnsafeUnpin for TradingViewClientConfig
impl !UnwindSafe for TradingViewClientConfig
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