[−][src]Struct mangadex_fs::api::api::MangaDexAPI
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]
&'_ mut self,
login: L,
password: P
) -> Result<&'_ MangaDexSession, LogInError> where
L: Into<Cow<'static, str>>,
P: Into<Cow<'static, str>>,
pub async fn get_manga<'_>(&'_ self, id: u64) -> Result<Manga, GetMangaError>
[src]
pub async fn get_chapter<'_>(
&'_ self,
id: u64
) -> Result<Chapter, GetChapterError>
[src]
&'_ self,
id: u64
) -> Result<Chapter, GetChapterError>
pub async fn get_page<'_, '_>(
&'_ self,
chapter_id: u64,
url: &'_ Url
) -> Result<Page, GetPageError>
[src]
&'_ self,
chapter_id: u64,
url: &'_ Url
) -> Result<Page, GetPageError>
pub async fn search<'_, '_>(
&'_ self,
params: &'_ SearchParams
) -> Result<Vec<SearchEntry>, APIError>
[src]
&'_ self,
params: &'_ SearchParams
) -> Result<Vec<SearchEntry>, APIError>
pub async fn mdlist<'_>(&'_ self, id: u64) -> Result<MDList, APIError>
[src]
Auto Trait Implementations
impl !RefUnwindSafe for MangaDexAPI
impl Send for MangaDexAPI
impl Sync for MangaDexAPI
impl Unpin for MangaDexAPI
impl !UnwindSafe for MangaDexAPI
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Sealed<T> for T where
T: ?Sized,
T: ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,