Struct mangadex_api::v2::responses::user_settings::UserSettingsData[][src]

pub struct UserSettingsData {
    id: UserId,
    hentai_mode: HentaiMode,
    latest_updates: LatestUpdatesSetting,
    show_moderated_posts: bool,
    show_unavailable_chapters: bool,
    shown_chapter_languages: Vec<Language>,
    excluded_tags: Vec<Tag>,
}

This struct should not be used directly.

Fields

id: UserIdhentai_mode: HentaiModelatest_updates: LatestUpdatesSettingshow_moderated_posts: boolshow_unavailable_chapters: boolshown_chapter_languages: Vec<Language>excluded_tags: Vec<Tag>

Implementations

impl UserSettingsData[src]

pub fn id(&self) -> &UserId[src]

pub fn hentai_mode(&self) -> &HentaiMode[src]

pub fn latest_updates(&self) -> &LatestUpdatesSetting[src]

pub fn show_moderated_posts(&self) -> &bool[src]

pub fn shown_chapter_languages(&self) -> &Vec<Language>[src]

pub fn excluded_tags(&self) -> &Vec<Tag>[src]

Trait Implementations

impl Clone for UserSettingsData[src]

impl Debug for UserSettingsData[src]

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

impl PartialEq<UserSettingsData> for UserSettingsData[src]

impl PartialOrd<UserSettingsData> for UserSettingsData[src]

impl StructuralPartialEq for UserSettingsData[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.