pub struct YahooClientBuilder { /* private fields */ }Expand description
Builder for YahooClient
Implementations§
Source§impl YahooClientBuilder
impl YahooClientBuilder
pub fn new() -> Self
pub fn with_timeout(self, timeout: Duration) -> Self
pub fn with_user_agent(self, user_agent: impl Into<String>) -> Self
pub fn with_rate_limit(self, requests_per_minute: u32) -> Self
pub fn with_retry(self, config: RetryConfig) -> Self
pub fn build(self) -> Result<YahooClient>
Trait Implementations§
Source§impl Default for YahooClientBuilder
impl Default for YahooClientBuilder
Source§fn default() -> YahooClientBuilder
fn default() -> YahooClientBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for YahooClientBuilder
impl RefUnwindSafe for YahooClientBuilder
impl Send for YahooClientBuilder
impl Sync for YahooClientBuilder
impl Unpin for YahooClientBuilder
impl UnsafeUnpin for YahooClientBuilder
impl UnwindSafe for YahooClientBuilder
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