pub struct MarketstackBuilder { /* private fields */ }Expand description
Builder pattern implementation for Marketstack and AsyncMarketstack.
Implementations§
Source§impl MarketstackBuilder
impl MarketstackBuilder
Sourcepub fn insecure(&mut self) -> &mut Self
pub fn insecure(&mut self) -> &mut Self
Switch to an insecure protocol (http instead of https).
pub fn build(&self) -> Result<Marketstack, MarketstackError>
pub async fn build_async(&self) -> Result<AsyncMarketstack, MarketstackError>
Auto Trait Implementations§
impl Freeze for MarketstackBuilder
impl RefUnwindSafe for MarketstackBuilder
impl Send for MarketstackBuilder
impl Sync for MarketstackBuilder
impl Unpin for MarketstackBuilder
impl UnwindSafe for MarketstackBuilder
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