pub struct ActivityClient<'a> { /* private fields */ }Expand description
Activity API client.
Implementations§
Source§impl<'a> ActivityClient<'a>
impl<'a> ActivityClient<'a>
Sourcepub async fn info(
&self,
params: ActivityInfoParams,
) -> BpiResult<ActivityInfoData>
pub async fn info( &self, params: ActivityInfoParams, ) -> BpiResult<ActivityInfoData>
Gets activity subject information.
Sourcepub async fn list(
&self,
params: ActivityListParams,
) -> BpiResult<ActivityListData>
pub async fn list( &self, params: ActivityListParams, ) -> BpiResult<ActivityListData>
Gets the activity list.
Sourcepub async fn list_default(&self) -> BpiResult<ActivityListData>
pub async fn list_default(&self) -> BpiResult<ActivityListData>
Gets the activity list with Bilibili’s web defaults.
Trait Implementations§
Source§impl<'a> Clone for ActivityClient<'a>
impl<'a> Clone for ActivityClient<'a>
Source§fn clone(&self) -> ActivityClient<'a>
fn clone(&self) -> ActivityClient<'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 ActivityClient<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ActivityClient<'a>
impl<'a> !UnwindSafe for ActivityClient<'a>
impl<'a> Freeze for ActivityClient<'a>
impl<'a> Send for ActivityClient<'a>
impl<'a> Sync for ActivityClient<'a>
impl<'a> Unpin for ActivityClient<'a>
impl<'a> UnsafeUnpin for ActivityClient<'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