pub struct UserSettings {
pub thumb_size: String,
pub per_page: String,
pub purity: Vec<String>,
pub categories: Vec<String>,
pub resolutions: Vec<String>,
pub aspect_ratios: Vec<String>,
pub toplist_range: String,
pub tag_blacklist: Vec<String>,
pub user_blacklist: Vec<String>,
}
Fields§
§thumb_size: String
§per_page: String
§purity: Vec<String>
§categories: Vec<String>
§resolutions: Vec<String>
§aspect_ratios: Vec<String>
§toplist_range: String
§tag_blacklist: Vec<String>
§user_blacklist: Vec<String>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UserSettings
impl<'de> Deserialize<'de> for UserSettings
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for UserSettings
impl RefUnwindSafe for UserSettings
impl Send for UserSettings
impl Sync for UserSettings
impl Unpin for UserSettings
impl UnwindSafe for UserSettings
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more