[][src]Struct mangadex_fs::api::api::MangaDexAPI

pub struct MangaDexAPI { /* fields omitted */ }

Implementations

impl MangaDexAPI[src]

pub fn new() -> MangaDexAPI[src]

pub async fn log_out<'_>(&'_ mut self) -> Result<(), LogOutError>[src]

pub async fn log_in<L, P, '_, '_>(
    &'_ mut self,
    login: L,
    password: P
) -> Result<&'_ MangaDexSession, LogInError> where
    L: Into<Cow<'static, str>>,
    P: Into<Cow<'static, str>>, 
[src]

pub async fn get_manga<'_>(&'_ self, id: u64) -> Result<Manga, GetMangaError>[src]

pub async fn get_chapter<'_>(
    &'_ self,
    id: u64
) -> Result<Chapter, GetChapterError>
[src]

pub async fn get_page<'_, '_>(
    &'_ self,
    chapter_id: u64,
    url: &'_ Url
) -> Result<Page, GetPageError>
[src]

pub async fn search<'_, '_>(
    &'_ self,
    params: &'_ SearchParams
) -> Result<Vec<SearchEntry>, APIError>
[src]

pub async fn mdlist<'_>(&'_ self, id: u64) -> Result<MDList, APIError>[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Sealed<T> for T where
    T: ?Sized

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.