Struct lichess_api::model::account::preferences::UserPreferences
source · pub struct UserPreferences {Show 35 fields
pub dark: bool,
pub transp: bool,
pub bg_img: String,
pub is3d: bool,
pub theme: Theme,
pub piece_set: PieceSet,
pub theme3d: Theme3D,
pub piece_set3d: PieceSet3D,
pub sound_set: SoundSet,
pub blindfold: u32,
pub auto_queen: u32,
pub auto_threefold: u32,
pub takeback: u32,
pub moretime: u32,
pub clock_tenths: u32,
pub clock_bar: bool,
pub clock_sound: bool,
pub premove: bool,
pub animation: u32,
pub captured: bool,
pub follow: bool,
pub highlight: bool,
pub destination: bool,
pub coords: u32,
pub replay: u32,
pub challenge: u32,
pub message: u32,
pub coord_color: u32,
pub submit_move: u32,
pub confirm_resign: u32,
pub insight_share: u32,
pub keybord_move: u32,
pub zen: u32,
pub move_event: u32,
pub rook_castle: u32,
}Fields§
§dark: bool§transp: bool§bg_img: String§is3d: bool§theme: Theme§piece_set: PieceSet§theme3d: Theme3D§piece_set3d: PieceSet3D§sound_set: SoundSet§blindfold: u32§auto_queen: u32§auto_threefold: u32§takeback: u32§moretime: u32§clock_tenths: u32§clock_bar: bool§clock_sound: bool§premove: bool§animation: u32§captured: bool§follow: bool§highlight: bool§destination: bool§coords: u32§replay: u32§challenge: u32§message: u32§coord_color: u32§submit_move: u32§confirm_resign: u32§keybord_move: u32§zen: u32§move_event: u32§rook_castle: u32Trait Implementations§
source§impl Clone for UserPreferences
impl Clone for UserPreferences
source§fn clone(&self) -> UserPreferences
fn clone(&self) -> UserPreferences
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for UserPreferences
impl Debug for UserPreferences
source§impl<'de> Deserialize<'de> for UserPreferences
impl<'de> Deserialize<'de> for UserPreferences
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 RefUnwindSafe for UserPreferences
impl Send for UserPreferences
impl Sync for UserPreferences
impl Unpin for UserPreferences
impl UnwindSafe for UserPreferences
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