Struct mangadex_api::v2::responses::follow_types::FollowTypesResponse[][src]

pub struct FollowTypesResponse {
    code: StatusCode,
    status: MangaDexResponseStatus,
    data: HashMap<String, FollowTypeData>,
}

Response from the /v2/follows endpoint.

Fields

code: StatusCodestatus: MangaDexResponseStatusdata: HashMap<String, FollowTypeData>

Implementations

impl FollowTypesResponse[src]

pub fn code(&self) -> &StatusCode[src]

pub fn status(&self) -> &MangaDexResponseStatus[src]

pub fn data(&self) -> &HashMap<String, FollowTypeData>[src]

Trait Implementations

impl Clone for FollowTypesResponse[src]

impl Debug for FollowTypesResponse[src]

impl<'de> Deserialize<'de> for FollowTypesResponse[src]

impl PartialEq<FollowTypesResponse> for FollowTypesResponse[src]

impl ResponseBody for FollowTypesResponse[src]

impl StructuralPartialEq for FollowTypesResponse[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.