pub struct WebWidgetClient<'a> { /* private fields */ }Expand description
Web widget API client.
Implementations§
Source§impl<'a> WebWidgetClient<'a>
impl<'a> WebWidgetClient<'a>
Gets the region carousel banner data.
Sourcepub async fn header_page(
&self,
params: WebWidgetHeaderPageParams,
) -> BpiResult<HeaderData>
pub async fn header_page( &self, params: WebWidgetHeaderPageParams, ) -> BpiResult<HeaderData>
Gets the home page header image data.
Sourcepub async fn online(&self) -> BpiResult<OnlineData>
pub async fn online(&self) -> BpiResult<OnlineData>
Gets the current online upload counts by region.
Trait Implementations§
Source§impl<'a> Clone for WebWidgetClient<'a>
impl<'a> Clone for WebWidgetClient<'a>
Source§fn clone(&self) -> WebWidgetClient<'a>
fn clone(&self) -> WebWidgetClient<'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 WebWidgetClient<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for WebWidgetClient<'a>
impl<'a> !UnwindSafe for WebWidgetClient<'a>
impl<'a> Freeze for WebWidgetClient<'a>
impl<'a> Send for WebWidgetClient<'a>
impl<'a> Sync for WebWidgetClient<'a>
impl<'a> Unpin for WebWidgetClient<'a>
impl<'a> UnsafeUnpin for WebWidgetClient<'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