pub enum AllTimeSinceToday {
Success(AllTimeSinceTodayBody),
WillRefresh(AllTimeSinceTodayBody),
}Expand description
Successful response from the AllTimeSinceToday endpoint, with two possible states :
- Success : the stats are up to date, 200 response code
- WillRefresh : the stats are not up to date, 202 response code
Variants§
Success(AllTimeSinceTodayBody)
The stats are up to date, 200 response code
WillRefresh(AllTimeSinceTodayBody)
The stats are not up to date, 202 response code
Implementations§
source§impl AllTimeSinceToday
impl AllTimeSinceToday
pub fn fetch( client: &WakapiClient, params: AllTimeSinceTodayParams, ) -> Result<AllTimeSinceToday, WakapiError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AllTimeSinceToday
impl RefUnwindSafe for AllTimeSinceToday
impl Send for AllTimeSinceToday
impl Sync for AllTimeSinceToday
impl Unpin for AllTimeSinceToday
impl UnwindSafe for AllTimeSinceToday
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