Trait mangadex_api::v2::responses::ResponseType [−][src]
Associated Types
Loading content...Required methods
fn is_ok(&self) -> bool
[src]
Check if the endpoint response is ok.
fn ok(self) -> Option<Self::OkOutput>
[src]
Get the data from the endpoint if the response is ok.
Implementors
impl ResponseType for ChapterResponseType
[src]
type OkOutput = ChapterResponse
fn is_ok(&self) -> bool
[src]
Check if the endpoint response is ok.
fn ok(self) -> Option<Self::OkOutput>
[src]
Get the data from the endpoint if the response is ok.
impl ResponseType for FollowTypesResponseType
[src]
type OkOutput = FollowTypesResponse
fn is_ok(&self) -> bool
[src]
Check if the endpoint response is ok.
fn ok(self) -> Option<Self::OkOutput>
[src]
Get the data from the endpoint if the response is ok.
impl ResponseType for GroupResponseType
[src]
type OkOutput = GroupResponse
fn is_ok(&self) -> bool
[src]
Check if the endpoint response is ok.
fn ok(self) -> Option<Self::OkOutput>
[src]
Get the data from the endpoint if the response is ok.
impl ResponseType for GroupChaptersResponseType
[src]
type OkOutput = GroupChaptersResponse
fn is_ok(&self) -> bool
[src]
Check if the endpoint response is ok.
fn ok(self) -> Option<Self::OkOutput>
[src]
Get the data from the endpoint if the response is ok.
impl ResponseType for MangaResponseType
[src]
type OkOutput = MangaResponse
fn is_ok(&self) -> bool
[src]
Check if the endpoint response is ok.
fn ok(self) -> Option<Self::OkOutput>
[src]
Get the data from the endpoint if the response is ok.
impl ResponseType for MangaChaptersResponseType
[src]
type OkOutput = MangaChaptersResponse
fn is_ok(&self) -> bool
[src]
Check if the endpoint response is ok.
fn ok(self) -> Option<Self::OkOutput>
[src]
Get the data from the endpoint if the response is ok.
impl ResponseType for MangaCoversResponseType
[src]
type OkOutput = MangaCoversResponse
fn is_ok(&self) -> bool
[src]
Check if the endpoint response is ok.
fn ok(self) -> Option<Self::OkOutput>
[src]
Get the data from the endpoint if the response is ok.
impl ResponseType for MangaRelationTypesResponseType
[src]
type OkOutput = MangaRelationTypesResponse
fn is_ok(&self) -> bool
[src]
Check if the endpoint response is ok.
fn ok(self) -> Option<Self::OkOutput>
[src]
Get the data from the endpoint if the response is ok.
impl ResponseType for TagResponseType
[src]
type OkOutput = TagResponse
fn is_ok(&self) -> bool
[src]
Check if the endpoint response is ok.
fn ok(self) -> Option<Self::OkOutput>
[src]
Get the data from the endpoint if the response is ok.
impl ResponseType for TagsResponseType
[src]
type OkOutput = TagsResponse
fn is_ok(&self) -> bool
[src]
Check if the endpoint response is ok.
fn ok(self) -> Option<Self::OkOutput>
[src]
Get the data from the endpoint if the response is ok.
impl ResponseType for UserResponseType
[src]
type OkOutput = UserResponse
fn is_ok(&self) -> bool
[src]
Check if the endpoint response is ok.
fn ok(self) -> Option<Self::OkOutput>
[src]
Get the data from the endpoint if the response is ok.
impl ResponseType for UserChaptersResponseType
[src]
type OkOutput = UserChaptersResponse
fn is_ok(&self) -> bool
[src]
Check if the endpoint response is ok.
fn ok(self) -> Option<Self::OkOutput>
[src]
Get the data from the endpoint if the response is ok.
impl ResponseType for UserChaptersMarkerResponseType
[src]
type OkOutput = UserChaptersReadResponse
fn is_ok(&self) -> bool
[src]
Check if the endpoint response is ok.
fn ok(self) -> Option<Self::OkOutput>
[src]
Get the data from the endpoint if the response is ok.
TODO: Account for the UserChaptersReadResponseType::Unread
variant.
impl ResponseType for UserFollowedMangaResponseType
[src]
type OkOutput = UserFollowedMangaResponse
fn is_ok(&self) -> bool
[src]
Check if the endpoint response is ok.
fn ok(self) -> Option<Self::OkOutput>
[src]
Get the data from the endpoint if the response is ok.
impl ResponseType for UserFollowedUpdatesResponseType
[src]
type OkOutput = UserFollowedUpdatesResponse
fn is_ok(&self) -> bool
[src]
Check if the endpoint response is ok.
fn ok(self) -> Option<Self::OkOutput>
[src]
Get the data from the endpoint if the response is ok.
impl ResponseType for UserMangaDataResponseType
[src]
type OkOutput = UserMangaDataResponse
fn is_ok(&self) -> bool
[src]
Check if the endpoint response is ok.
fn ok(self) -> Option<Self::OkOutput>
[src]
Get the data from the endpoint if the response is ok.
impl ResponseType for UserMangaRatingsResponseType
[src]
type OkOutput = UserMangaRatingsResponse
fn is_ok(&self) -> bool
[src]
Check if the endpoint response is ok.
fn ok(self) -> Option<Self::OkOutput>
[src]
Get the data from the endpoint if the response is ok.