Struct mangadex_api::v2::builder::get_user_manga_ratings::GetUserMangaRatingsBuilder [−][src]
Builder for the /v2/user/{id}/ratings
endpoint.
Fields
md_client: &'a MangaDexV2
user_id: Option<UserId>
me: bool
Implementations
impl<'a> GetUserMangaRatingsBuilder<'a>
[src]
pub fn new(md_client: &'a MangaDexV2) -> Self
[src]
pub fn user_id(&mut self, user_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 async fn send(
&self
) -> Result<UserMangaRatingsResponseType, UserRequestError>
[src]
&self
) -> Result<UserMangaRatingsResponseType, UserRequestError>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for GetUserMangaRatingsBuilder<'a>
impl<'a> Send for GetUserMangaRatingsBuilder<'a>
impl<'a> Sync for GetUserMangaRatingsBuilder<'a>
impl<'a> Unpin for GetUserMangaRatingsBuilder<'a>
impl<'a> !UnwindSafe for GetUserMangaRatingsBuilder<'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>,