pub struct OddsAPIConfig {
pub api_key: String,
pub timeout: Duration,
}Expand description
The Odds API configuration
Fields§
§api_key: StringAPI key from the-odds-api.com
timeout: DurationRequest timeout
Trait Implementations§
Source§impl Clone for OddsAPIConfig
impl Clone for OddsAPIConfig
Source§fn clone(&self) -> OddsAPIConfig
fn clone(&self) -> OddsAPIConfig
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 OddsAPIConfig
impl Debug for OddsAPIConfig
Auto Trait Implementations§
impl Freeze for OddsAPIConfig
impl RefUnwindSafe for OddsAPIConfig
impl Send for OddsAPIConfig
impl Sync for OddsAPIConfig
impl Unpin for OddsAPIConfig
impl UnwindSafe for OddsAPIConfig
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