Struct fugle::crawler::IntradayBuilder [−][src]
pub struct IntradayBuilder { /* fields omitted */ }
Expand description
Accumulates options towards building an Intraday instance.
Implementations
Returns a default IntradayBuilder with
- fugle “demo” token
- [ default ureq agent settings ] ( https://github.com/algesten/ureq/blob/main/src/agent.rs#L202 )
Setup your personal fugle token.
By default the IntradayBuilder using fugle demo token which has limitations on querying, please login into below web page https://developer.fugle.tw/ then find your personal token.
Example:
let agent = IntradayBuilder::new() .token("b52153ae36747b17c8bdee801da19542") .build();
Setup http read timeout option.
By default there is no read timeout.
Example:
let agent = IntradayBuilder::new() .read_timeout_sec(10) // set read timeout in 10 seconds .build();
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl !RefUnwindSafe for IntradayBuilder
impl Send for IntradayBuilder
impl Sync for IntradayBuilder
impl Unpin for IntradayBuilder
impl !UnwindSafe for IntradayBuilder