pub struct PolygonConfig {
pub api_key: String,
pub streaming: bool,
pub timeout: Duration,
}Expand description
Polygon.io configuration
Fields§
§api_key: StringAPI key from polygon.io
streaming: boolEnable WebSocket streaming
timeout: DurationRequest timeout
Trait Implementations§
Source§impl Clone for PolygonConfig
impl Clone for PolygonConfig
Source§fn clone(&self) -> PolygonConfig
fn clone(&self) -> PolygonConfig
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 PolygonConfig
impl Debug for PolygonConfig
Auto Trait Implementations§
impl Freeze for PolygonConfig
impl RefUnwindSafe for PolygonConfig
impl Send for PolygonConfig
impl Sync for PolygonConfig
impl Unpin for PolygonConfig
impl UnwindSafe for PolygonConfig
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