pub struct CheeseClient<'a> { /* private fields */ }Expand description
Cheese course API client.
Implementations§
Source§impl<'a> CheeseClient<'a>
impl<'a> CheeseClient<'a>
Sourcepub async fn info(&self, params: CheeseInfoParams) -> BpiResult<CourseInfo>
pub async fn info(&self, params: CheeseInfoParams) -> BpiResult<CourseInfo>
Gets cheese course information by season or episode ID.
Sourcepub async fn info_by_season_id(
&self,
season_id: SeasonId,
) -> BpiResult<CourseInfo>
pub async fn info_by_season_id( &self, season_id: SeasonId, ) -> BpiResult<CourseInfo>
Gets cheese course information by season ID.
Sourcepub async fn info_by_ep_id(
&self,
episode_id: EpisodeId,
) -> BpiResult<CourseInfo>
pub async fn info_by_ep_id( &self, episode_id: EpisodeId, ) -> BpiResult<CourseInfo>
Gets cheese course information by episode ID.
Sourcepub async fn ep_list(
&self,
params: CheeseEpListParams,
) -> BpiResult<CourseEpList>
pub async fn ep_list( &self, params: CheeseEpListParams, ) -> BpiResult<CourseEpList>
Gets a cheese course episode list.
Sourcepub async fn video_stream(
&self,
params: CheeseVideoStreamParams,
) -> BpiResult<CourseVideoStreamData>
pub async fn video_stream( &self, params: CheeseVideoStreamParams, ) -> BpiResult<CourseVideoStreamData>
Gets cheese course video stream data.
Trait Implementations§
Source§impl<'a> Clone for CheeseClient<'a>
impl<'a> Clone for CheeseClient<'a>
Source§fn clone(&self) -> CheeseClient<'a>
fn clone(&self) -> CheeseClient<'a>
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<'a> Copy for CheeseClient<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for CheeseClient<'a>
impl<'a> !UnwindSafe for CheeseClient<'a>
impl<'a> Freeze for CheeseClient<'a>
impl<'a> Send for CheeseClient<'a>
impl<'a> Sync for CheeseClient<'a>
impl<'a> Unpin for CheeseClient<'a>
impl<'a> UnsafeUnpin for CheeseClient<'a>
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