pub struct HiAnimeRust { /* private fields */ }Implementations§
Source§impl HiAnimeRust
impl HiAnimeRust
pub async fn new(secret: Option<SecretConfig>) -> Self
pub async fn scrape_home(&self) -> Result<HomeInfo, AniRustError>
pub async fn scrape_atoz(&self, page_no: u32) -> Result<AtoZ, AniRustError>
pub async fn scrape_about_anime( &self, id: &str, ) -> Result<AboutAnime, AniRustError>
pub async fn scrape_category( &self, category: &str, page_no: u32, ) -> Result<CategoryInfo, AniRustError>
pub async fn scrape_search( &self, query: &str, page_no: u32, ) -> Result<SearchInfo, AniRustError>
pub async fn scrape_episodes( &self, id: &str, ) -> Result<EpisodesInfo, AniRustError>
pub async fn scrape_servers(&self, id: &str) -> Result<ServerInfo, AniRustError>
pub async fn scrape_episode_server_source( &self, id: &str, episode_type: EpisodeType, anime_server: Option<AnimeServer>, ) -> Result<ServerExtractedInfo, AniRustError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HiAnimeRust
impl RefUnwindSafe for HiAnimeRust
impl Send for HiAnimeRust
impl Sync for HiAnimeRust
impl Unpin for HiAnimeRust
impl UnwindSafe for HiAnimeRust
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more