pub trait HabpanelApi: Send + Sync {
// Required methods
fn get_gallery_widget_list<'gallery_name, 'life0, 'async_trait>(
&'life0 self,
gallery_name: &'gallery_name str,
) -> Pin<Box<dyn Future<Output = Result<Vec<GalleryWidgetsListItem>, Error<GetGalleryWidgetListError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'gallery_name: 'async_trait,
'life0: 'async_trait;
fn get_gallery_widgets_item<'gallery_name, 'id, 'life0, 'async_trait>(
&'life0 self,
gallery_name: &'gallery_name str,
id: &'id str,
) -> Pin<Box<dyn Future<Output = Result<GalleryItem, Error<GetGalleryWidgetsItemError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'gallery_name: 'async_trait,
'id: 'async_trait,
'life0: 'async_trait;
}Available on crate feature
habpanel_api only.Required Methods§
Sourcefn get_gallery_widget_list<'gallery_name, 'life0, 'async_trait>(
&'life0 self,
gallery_name: &'gallery_name str,
) -> Pin<Box<dyn Future<Output = Result<Vec<GalleryWidgetsListItem>, Error<GetGalleryWidgetListError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'gallery_name: 'async_trait,
'life0: 'async_trait,
fn get_gallery_widget_list<'gallery_name, 'life0, 'async_trait>(
&'life0 self,
gallery_name: &'gallery_name str,
) -> Pin<Box<dyn Future<Output = Result<Vec<GalleryWidgetsListItem>, Error<GetGalleryWidgetListError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'gallery_name: 'async_trait,
'life0: 'async_trait,
GET /habpanel/gallery/{galleryName}/widgets
Sourcefn get_gallery_widgets_item<'gallery_name, 'id, 'life0, 'async_trait>(
&'life0 self,
gallery_name: &'gallery_name str,
id: &'id str,
) -> Pin<Box<dyn Future<Output = Result<GalleryItem, Error<GetGalleryWidgetsItemError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'gallery_name: 'async_trait,
'id: 'async_trait,
'life0: 'async_trait,
fn get_gallery_widgets_item<'gallery_name, 'id, 'life0, 'async_trait>(
&'life0 self,
gallery_name: &'gallery_name str,
id: &'id str,
) -> Pin<Box<dyn Future<Output = Result<GalleryItem, Error<GetGalleryWidgetsItemError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'gallery_name: 'async_trait,
'id: 'async_trait,
'life0: 'async_trait,
GET /habpanel/gallery/{galleryName}/widgets/{id}