pub struct SettingsDto {Show 21 fields
sidebar_position: SidebarPosition,
theme_mode: ThemeMode,
show_avatars: bool,
compact_mode: bool,
sort_order: SortOrder,
place_id: String,
multi_instance: bool,
auto_rejoin: bool,
open_on_launch: bool,
run_in_background: bool,
ask_destination: bool,
minimize_on_join: bool,
notify_on_drop: bool,
always_on_top: bool,
show_animations: bool,
ignore_reduced_motion: bool,
reduce_toasts: bool,
friends_source: FriendsSource,
widgets_open_installed: bool,
groups: Vec<AccountGroup>,
tags: Vec<AccountTag>,
}Expand description
The settings the interface reads and edits.
Fields§
§theme_mode: ThemeMode§show_avatars: bool§compact_mode: bool§sort_order: SortOrder§place_id: String§multi_instance: bool§auto_rejoin: bool§open_on_launch: bool§run_in_background: bool§ask_destination: bool§minimize_on_join: bool§notify_on_drop: bool§always_on_top: bool§show_animations: bool§ignore_reduced_motion: bool§reduce_toasts: bool§friends_source: FriendsSource§widgets_open_installed: bool§groups: Vec<AccountGroup>Trait Implementations§
Source§impl Clone for SettingsDto
impl Clone for SettingsDto
Source§impl Debug for SettingsDto
impl Debug for SettingsDto
Source§impl<'de> Deserialize<'de> for SettingsDto
impl<'de> Deserialize<'de> for SettingsDto
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
Source§impl From<&Settings> for SettingsDto
impl From<&Settings> for SettingsDto
Auto Trait Implementations§
impl Freeze for SettingsDto
impl RefUnwindSafe for SettingsDto
impl Send for SettingsDto
impl Sync for SettingsDto
impl Unpin for SettingsDto
impl UnsafeUnpin for SettingsDto
impl UnwindSafe for SettingsDto
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