Struct mangadex_api::v2::builder::GetUserFollowedMangaBuilder [−][src]
Builder for the /v2/user/{id}/followed-manga
endpoint.
Fields
md_client: &'a MangaDexV2
id: Option<UserId>
me: bool
follow_status: Option<FollowStatus>
hentai_mode: Option<HentaiMode>
Implementations
impl<'a> GetUserFollowedMangaBuilder<'a>
[src]
pub fn new(md_client: &'a MangaDexV2) -> Self
[src]
pub fn user_id(&mut self, id: UserId) -> &mut Self
[src]
Set the numeric user ID.
This takes priority over the me
field if both are set.
pub fn me(&mut self, me: bool) -> &mut Self
[src]
Set true
to use the current cookie-authenticated user.
pub fn follow_status(&mut self, follow_status: FollowStatus) -> &mut Self
[src]
Filter the results by the follow type.
pub fn hentai_mode(&mut self, hentai_mode: HentaiMode) -> &mut Self
[src]
Filter the results based on whether the titles are marked as hentai.
pub async fn send(
&self
) -> Result<UserFollowedMangaResponseType, UserRequestError>
[src]
&self
) -> Result<UserFollowedMangaResponseType, UserRequestError>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for GetUserFollowedMangaBuilder<'a>
impl<'a> Send for GetUserFollowedMangaBuilder<'a>
impl<'a> Sync for GetUserFollowedMangaBuilder<'a>
impl<'a> Unpin for GetUserFollowedMangaBuilder<'a>
impl<'a> !UnwindSafe for GetUserFollowedMangaBuilder<'a>
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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.
pub 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>,