pub enum ProviderKind {
Espn,
ApiFootball,
FootballData,
}Expand description
Which backend to use.
Variants§
Espn
ESPN hidden API (free, no key). The default.
ApiFootball
API-Football (api-sports.io); requires an API key.
FootballData
football-data.org; requires an API key.
Implementations§
Source§impl ProviderKind
impl ProviderKind
Trait Implementations§
Source§impl Clone for ProviderKind
impl Clone for ProviderKind
Source§fn clone(&self) -> ProviderKind
fn clone(&self) -> ProviderKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ProviderKind
Source§impl Debug for ProviderKind
impl Debug for ProviderKind
Source§impl Default for ProviderKind
impl Default for ProviderKind
Source§fn default() -> ProviderKind
fn default() -> ProviderKind
Returns the “default value” for a type. Read more
impl Eq for ProviderKind
Source§impl PartialEq for ProviderKind
impl PartialEq for ProviderKind
Source§fn eq(&self, other: &ProviderKind) -> bool
fn eq(&self, other: &ProviderKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProviderKind
Auto Trait Implementations§
impl Freeze for ProviderKind
impl RefUnwindSafe for ProviderKind
impl Send for ProviderKind
impl Sync for ProviderKind
impl Unpin for ProviderKind
impl UnsafeUnpin for ProviderKind
impl UnwindSafe for ProviderKind
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