Trait MeetApiClient

Source
pub trait MeetApiClient: NadeoApiClient {
    // Provided method
    async fn get_cup_of_the_day(
        &self,
    ) -> Result<Option<CupOfTheDay>, NadeoError> { ... }
}
Expand description

API calls for the Meet API

Provided Methods§

Source

async fn get_cup_of_the_day(&self) -> Result<Option<CupOfTheDay>, NadeoError>

https://webservices.openplanet.dev/meet/cup-of-the-day/current

Get the current Cup of the Day. Sometimes the status will be 204 No Content. (Indicated by Ok(None))

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§