Struct termusiclib::config::Settings
source · pub struct Settings {Show 27 fields
pub music_dir: Vec<String>,
pub music_dir_from_cli: Option<String>,
pub disable_album_art_from_cli: bool,
pub disable_discord_rpc_from_cli: bool,
pub max_depth_cli: usize,
pub player_port: u16,
pub player_interface: IpAddr,
pub player_loop_mode: Loop,
pub player_volume: u16,
pub player_speed: i32,
pub player_gapless: bool,
pub podcast_simultanious_download: usize,
pub podcast_max_retries: usize,
pub podcast_dir: String,
pub player_seek_step: SeekStep,
pub player_remember_last_played_position: LastPosition,
pub enable_exit_confirmation: bool,
pub playlist_display_symbol: bool,
pub playlist_select_random_track_quantity: u32,
pub playlist_select_random_album_quantity: u32,
pub theme_selected: String,
pub kill_daemon_when_quit: bool,
pub player_use_mpris: bool,
pub player_use_discord: bool,
pub album_photo_xywh: Xywh,
pub style_color_symbol: StyleColorSymbol,
pub keys: Keys,
}Fields§
§music_dir: Vec<String>§music_dir_from_cli: Option<String>§disable_album_art_from_cli: bool§disable_discord_rpc_from_cli: bool§max_depth_cli: usize§player_port: u16§player_interface: IpAddr§player_loop_mode: Loop§player_volume: u16§player_speed: i32§player_gapless: bool§podcast_simultanious_download: usize§podcast_max_retries: usize§podcast_dir: String§player_seek_step: SeekStep§player_remember_last_played_position: LastPosition§enable_exit_confirmation: bool§playlist_display_symbol: bool§playlist_select_random_track_quantity: u32§playlist_select_random_album_quantity: u32§theme_selected: String§kill_daemon_when_quit: bool§player_use_mpris: bool§player_use_discord: bool§album_photo_xywh: Xywh§style_color_symbol: StyleColorSymbol§keys: KeysImplementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Settings
impl<'de> Deserialize<'de> for Settings
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 Settings
impl RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin for Settings
impl UnwindSafe for Settings
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().