pub struct Tank01Client { /* private fields */ }Implementations§
Source§impl Tank01Client
impl Tank01Client
pub fn new(config: Tank01Config) -> Result<Self, Tank01ClientError>
pub fn config(&self) -> &Tank01Config
Source§impl Tank01Client
impl Tank01Client
Sourcepub async fn current_injuries(&self) -> ProviderResponse<InjuryReport>
pub async fn current_injuries(&self) -> ProviderResponse<InjuryReport>
Preserves duplicate source rows; the legacy trait adapter is last-row-wins.
Trait Implementations§
Source§impl Clone for Tank01Client
impl Clone for Tank01Client
Source§impl Debug for Tank01Client
impl Debug for Tank01Client
Source§impl InjuryProvider for Tank01Client
impl InjuryProvider for Tank01Client
async fn current_injuries(&self) -> ProviderResponse<InjuryReport>
Source§impl LiveScoreProvider for Tank01Client
impl LiveScoreProvider for Tank01Client
async fn scoreboard(&self, date: Date) -> ProviderResponse<LiveScoreboard>
async fn box_score( &self, game: &LiveGame, play_by_play: bool, ) -> ProviderResponse<LiveGameSnapshot>
Auto Trait Implementations§
impl !RefUnwindSafe for Tank01Client
impl !UnwindSafe for Tank01Client
impl Freeze for Tank01Client
impl Send for Tank01Client
impl Sync for Tank01Client
impl Unpin for Tank01Client
impl UnsafeUnpin for Tank01Client
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more