pub struct VipClient<'a> { /* private fields */ }Expand description
VIP API client.
Implementations§
Source§impl<'a> VipClient<'a>
impl<'a> VipClient<'a>
Sourcepub async fn receive_privilege(
&self,
params: VipPrivilegeReceiveParams,
) -> BpiResult<Option<Value>>
pub async fn receive_privilege( &self, params: VipPrivilegeReceiveParams, ) -> BpiResult<Option<Value>>
Receives a VIP privilege coupon and returns the canonical payload result.
Sourcepub async fn add_experience(&self) -> BpiResult<VipExperienceData>
pub async fn add_experience(&self) -> BpiResult<VipExperienceData>
Adds daily VIP experience and returns the canonical payload result.
Source§impl<'a> VipClient<'a>
impl<'a> VipClient<'a>
Sourcepub async fn center_info(
&self,
params: VipCenterInfoParams,
) -> BpiResult<VipCenterData>
pub async fn center_info( &self, params: VipCenterInfoParams, ) -> BpiResult<VipCenterData>
Gets VIP center information.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for VipClient<'a>
impl<'a> !UnwindSafe for VipClient<'a>
impl<'a> Freeze for VipClient<'a>
impl<'a> Send for VipClient<'a>
impl<'a> Sync for VipClient<'a>
impl<'a> Unpin for VipClient<'a>
impl<'a> UnsafeUnpin for VipClient<'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